BitLinks is a sleek and efficient URL shortener web app built with Next.js and MongoDB. It provides a fast, user-friendly interface to generate shortened URLs and track their usage — ideal for content sharing and link management.
- 🔗 Instantly generate short URLs from long links
- 🔁 Seamless redirection using dynamic short codes
- 📊 Track and store visit counts per URL
- 🌐 Built-in serverless API routes with Next.js
- 🎨 Clean, responsive UI powered by Tailwind CSS
Technology | Description |
---|---|
Next.js | React framework for SSR & APIs |
MongoDB | NoSQL database via Mongoose |
Tailwind CSS | Utility-first modern styling |
git clone https://github.com/mr-coder-raj/BitLinks_NextJS-MongoDB.git
cd BitLinks_NextJS-MongoDB
npm install
MONGODB_URI=your_mongodb_connection_string
npm run dev
Paste a long URL
-
Click Shorten
-
Get a unique short ID like bit.ly/abc123
-
Accessing that link redirects to the original one
-
Visit count is stored in MongoDB
✅ Custom short link aliases
🔐 User authentication (planned)
📈 Analytics dashboard for links
🌍 Public user profile with all links
Contributions are welcome!
If you find bugs or have feature suggestions, feel free to:
-
Fork the repo
-
Create a new branch
-
Submit a pull request
-
For major changes, please open an issue first to discuss.
This project is licensed under the MIT License.
Feel free to use, modify, and share with proper attribution.
Made with ❤️ by @mr-coder-raj