node js (ES6 + Babel + mocha + chai + sinnon + jwt) study
npm i -g yarn
yarnStart with the default database configurations
babel-node index.jsor
yarn startNecessary to separate between Windows and Unix environment due the environment variables set syntax differences. The set of the environment maps the database configurations that will be used, on this case, the production configurations.
For windows:
yarn start:windows:productionFor unix:
yarn start:unix:productionWe have to
yarn test:unitNecessary to separate between Windows and Unix environment due the environment variables set syntax differences. The set of the environment maps the database configurations that will be used, on this case, the test configurations.
For windows:
yarn test:windows:integrationFor unix:
yarn test:unix:integrationyarn lint