FreeCodeCamp - API Projects #3
Clone this repository.
git clone https://github.com/hisener/url-shortener.git
cd url-shortener
Install dependencies.
npm install
Start mongod and set MONGO_URI and start application.
sudo service mongod start
export MONGO_URI="mongodb://your_mongo"
npm start
Ready!
localhost:PORT (PORT = environment variable or 3000)