Skip to content

A personalized URL shortener built with the MERN stack (MongoDB, Express.js, React, Node.js). It allows users to create custom short links, manage them through a user-friendly dashboard, and track click analytics.

Notifications You must be signed in to change notification settings

asifcuber08/BitLinks

Repository files navigation

🔗 BitLinks – Personalized URL Shortener (MERN Stack)

BitLinks is a personalized URL shortener built using the MERN stack: MongoDB, Express.js, React, and Node.js. It allows users to create and manage custom short links through a user-friendly dashboard, and track link analytics such as click counts. It's ideal for individuals and businesses looking to brand and monitor their shared URLs efficiently.


🚀 Features

  • ✨ Create short and branded URLs
  • 🧑‍💻 Built with the MERN stack (MongoDB, Express.js, React, Node.js)
  • 🔒 Basic security and error handling

🛠️ Tech Stack

  • Frontend: React, Tailwind CSS
  • Backend: Node.js, Express.js
  • Database: MongoDB (using Mongoose)
  • State Management: React Hooks (useState, useEffect)
  • Routing: React Router + Express API

🧑‍💻 Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/Bitlinks.git
    • Replace your-username with your GitHub username.
  2. Navigate into the project

    cd Bitlinks
    
  3. Install backend dependencies:

    npm install
  4. Type this to start your server:

    npm run dev

🌐 Connect to Mongodb

To connect to mongodb, don't forget to create .env.local file and on that file you have to type

```bash
MONGODB_URI=your mongodb uri


NEXT_PUBLIC_HOST=http://localhost:3000
```

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.js. The page auto-updates as you edit the file.


🙋‍♂️ Author

Name: Asif Shamim

GitHub: @asifcuber08

About

A personalized URL shortener built with the MERN stack (MongoDB, Express.js, React, Node.js). It allows users to create custom short links, manage them through a user-friendly dashboard, and track click analytics.

Topics

Resources

Stars

Watchers

Forks