-
Clone the repository
git clone https://github.com/mahmudulnayeem/url-shortner.git
-
Install dependencies
bun install
-
Create a
.env.local
file in the root directory of the project and add the following environment variablesHOST_URL = http://localhost:3000 MONGO_DB_CONNECTION_STRING = your_mongo_db_connection_string
-
Run the development server
bun dev
Open http://localhost:3000 with your browser to see the result.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
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.
- 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