The source code of my shortlink webservice.
- NodeJS 5.5
- MongoDB 3.2
Build and run
- See configuration
app/bootstrap/config.jsand use process env vars to overwrite parameters.
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
package.json for the commands to run the single test suites – they are faster to execute.