$ git clone https://github.com/thaioliva/eyemobile-challenge.git
$ npm install
$ cp .env.example .env
API Documentação: https://github.com/thaioliva/eyemobile-challenge-doc Dump mongodb (pasta): dump-eyeMobile Para restaurar o db:
$ mongorestore --db {DATABASE} --verbose dump-eyeMobile/dump
- PORT=3000
- SECRET=
- MONGO_CONNECTION=
- DATABASE=
- DEBIT=2
- CREDIT=3
- CREDIT_DAYS=30
Em modo dev:
$ npm run dev
Em modo prod:
$ npm start