
Repository for url-shortner-app post, read the post on http://okkarm.in/blog/your-own-url-shortner or https://dev.to/okkarmin/your-own-bit-ly-for-a-grand-total-of-0-5hmi
Building a personal URL shortener has always been a dream of mine, and this project perfectly encapsulates why. Not only does it make sharing links easier and more memorable for myself and others, but it also adds a unique touch to my online presence. With the use of free domains like .ml or .tk, anyone can set up a custom URL shortener with minimal expense. The overall process combines various modern web technologies, ultimately yielding a functional and stylish app that looks great.
In this post, I’ll outline the tech stack and the steps involved in creating your own URL shortener from scratch. By combining NextJS, Chakra UI, Firebase Firestore, and Vercel, you can have your link-shortening service up and running in no time.

Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.
React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components
Chakra UI is a popular open-source React component library that provides a set of accessible and customizable UI components to help developers create modern web applications.
Firebase offers a comprehensive set of features, including real-time database, authentication, hosting, cloud functions, storage, and more. Firebase provides an easy-to-use interface and allows developers to focus on building features rather than managing infrastructure.
Alpine.js is a lightweight JavaScript framework that simplifies the process of creating dynamic, reactive user interfaces on the web. It uses a declarative syntax that offers a higher level of abstraction compared to vanilla JavaScript, while being more performant and easier to use than jQuery.
TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.