- NodeJS v12.14.x
Base bootstrap template: https://github.com/BlackrockDigital/startbootstrap-sb-admin-2
The command npm run test
will run tests from /tests folder. We are using the jest
library to write our tests.
https://jestjs.io/docs/en/getting-started
- Clone repo
- Run
npm install
- Create .env from .env.sample `cp .env.sample .env``
- Fill env variables on .env file
- Run migrations to create the
users
tablenode src/run_migrations.js
- Run
npm run start:devserver
if you change any file on the src folder the server will restart itself automagically - Visit http://localhost:3000/