Requirements: Node.js and NPM
Run tests:
$ git clone https://github.com/mrvisser/node-urlshortener
$ cd node-urlshortener
$ npm install -g grunt-cli
$ npm install
$ grunt
Start the server:
Update config.json
as needed. The only supported storage currently is memory
.
$ node run.js
Server running on port 9000