How it will work,
-
npm install
--- To install dependicies -
npm run start
--- To start server -
Download MongoDB from official website
-
Then Open
http://localhost:5000/
- Take the input for urlname and address
- Add stores the above details in the mongodb
- When I search http://localhost:5000/urlname then it will redirect to the specified address
Updation to be done:
- Improve the UI
- The urlname should be unique, so it should give proper feedback for the duplicate entry
- Allow users to set an expiration date for their links, after which the link will no longer work