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 i
The ports
3000
and3001
will be used to start the servers, they can not be in use for another process at the moment.
Up
$ npm run build:dev
Down
$ ctrl + c
The ports
80
and3000
will be used, to raise the containers, they can not be in use on host.
Up
$ npm run build:prod
Down
$ npm run build:down
Test All Api and Client
$ npm test
Test just Api
$ npm run build:test:api
Test just Client
$ npm run build:test:client