A simple url shortner. Create short urls here - https://shortner.vercel.app/
To setup the app on local, follow the below steps:
-
Clone the Repository / Donwload the zip.
git clone https://github.com/madhup25/url-shortner.git
-
Install the dependencies.
npm install
-
Create a .env file and enter your Mongo DB URI (local/Atlas).
MONGO_URI=<your_mongo_uri>
-
Run
npm run dev
to run in development mode. Ornpm run prod
to run in production mode.