Skip to content

mahmudulnayeem/url-shortner

Repository files navigation

Getting Started with URL Shortener

  1. Clone the repository

     git clone https://github.com/mahmudulnayeem/url-shortner.git
  2. Install dependencies

     bun install
  3. Create a .env.local file in the root directory of the project and add the following environment variables

    HOST_URL = http://localhost:3000
    MONGO_DB_CONNECTION_STRING = your_mongo_db_connection_string
  4. Run the development server

     bun dev

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

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Features

  • Shorten URL
  • Redirect to original URL
  • View all shortened URLs
  • Delete shortened URL
  • Copy shortened URL
  • View shortened URL details
  • View shortened URL analytics
  • View shortened URL QR code

Live preview

URL Shortener↗

preview