- karma
- chai
- sinon
Testing scripts are started thanks gulp. Test files are located in
- server/api/{endpoint}/{endpoint}.integration.js
- server/api/{endpoint}/{endpoint}.spec.js
- Git
- Node.js and npm Node >= 4.x.x, npm >= 2.x.x
- MongoDB - Keep a running daemon with
mongod
-
Run
npm install
to install dependencies. -
Run
mongod
in a separate shell to keep an instance of the MongoDB Daemon running
- Run
npm run start:dev
to run app in development mode
- Run
npm run start
to run app in production mode
This app can either be a single API or render a static client file. For now, the root url render the public/index.html file This can be configured thanks ’clientRoot’ parameter.