A url shortening dynamic website Deployed version
You will need Nodejs and MongoDB
-
Clone this repository.
git clone https://github.com/karmanya007/url-shortener.git
-
Make config.env file and put the following variables:
NODE_ENV=development PORT=3000 DATABASE=<Your mongodb connection string> DATABASE_LOCAL=mongodb:https://localhost:27017/shortify DATABASE_PASSWORD=<Your database connection password>
-
Open this directory in the terminal and run:
npm install npm run dev
-
Visit https://localhost:3000/
Start creating short urls either for you only or for the world!
😄ENJOY😄