Fabricio Nogueira (nogsantos@gmail.com).
- /
- scripts
- Build / testes / dev
- infra
- Docker / configurações nginx
- scripts
- api
- Node
- Mongo
- client
- React
Requirements
| Tool | Min. Version | Environment |
|---|---|---|
| Node | >= 10.x | Dev | Prod |
| Npm | >= 5.x | Dev | Prod |
| Docker | latest | Prod |
| docker-compose | >= 1.23.1 | Prod |
$ npm iThe ports
3000and3001will be used to start the servers, they can not be in use for another process at the moment.
Up
$ npm run build:devDown
$ ctrl + cThe ports
80and3000will be used, to raise the containers, they can not be in use on host.
Up
$ npm run build:prodDown
$ npm run build:downTest All Api and Client
$ npm testTest just Api
$ npm run build:test:apiTest just Client
$ npm run build:test:client