A URL Shortener Application built with Node.js, Express and MongoDB.
This project is live at https://tiny-urlshort.herokuapp.com/
You must have Node.js, npm and MongoDB installed on your machine. This project was built against the following versions:
- Node v13.13.0
- npm v6.14.4
- MongoDB v4.2.6
- Clone this repo to your machine
cd
into the project folder and runnpm install
- make
.env
file and putDATABASE=mongodb://localhost:27017
- Run
npm start
- Navigate to http://localhost:4100
- Enter a URL into the input field and hit Shorten. The shortened URL will be displayed on the page.
- Open the shortened URL in a new tab. It should redirect you to the original URL.