jotaen / j4n.io

Shortlink webservice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

j4n.io

Build Status Coverage Status Dependencies bitHound Overall Score js-standard-style

The source code of my shortlink webservice.

Usage

Requirements

  • NodeJS 5.5
  • MongoDB 3.2

Build and run

  1. npm install
  2. See configuration app/bootstrap/config.js and use process env vars to overwrite parameters.
  3. npm start

Test

Run npm test for the complete test-suite including linter. For the db and http tests you need to provide a mongo-db and specify its host via env variable. E.g.:

DB_HOST=localhost:27017 npm test

See package.json for the commands to run the single test suites – they are faster to execute.

About

Shortlink webservice

License:MIT License


Languages

Language:JavaScript 98.7%Language:Shell 1.3%