A Nodejs application to minify the URL links and save the minified urls to the MongoDB Database.
- shortid
- express
- mongoose
- ejs
- dotenv
Note : The minified url and the number of visits is fetched from the database, hence Mongodb must be installed onto the system and configured in order to run this application.
- Clone this repo
- Install Dependencies
npm install
- Create a
.env
file and save the connection URL for DBMONGO_URI=<DB Connection URI>
- Run the development server
npm run dev
- Visit http://localhost:5000 on your browser.