Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Latest commit

 

History

History
31 lines (19 loc) · 898 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 898 Bytes

Technology stack

📏 Restify 🐐 MongoDB 🚨 AVA

Prerequisites

Debugging

To start debugging run npm run debug, this will start a debug development server at http://localhost.

Production

To run the application in a production environment the PORT and DB_URL environmental variables must be set and then the server can be started with npm start.

In example

npx cross-env PORT=80
npx cross-env DB_URL=mongodb://localhost/ideation
npm start

Testing

To lint the source code run npm run lint, this will report any linting issues, to unit test the source code run npm run unit, this will report any unit test failures and source coverage.

To run all tests run npm test