hisener/url-shortener

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# URL Shortener Microservice
FreeCodeCamp - API Projects #3

[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
[![Code Climate](https://codeclimate.com/github/hisener/url-shortener/badges/gpa.svg)](https://codeclimate.com/github/hisener/url-shortener)

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

### Demo
https://hisener-url-shortener.herokuapp.com/