API component of projetoumportodostodosporum.org's website.
$ asdf install
$ npm install
Create a copy from ".env.dev.example" file in the root folder and rename to ".env.dev" and update it accordingly.
$ npm run dev
Build the preview image of this componenet with $ npm run build:docker:preview
and others, then start the Server in preview mode.
Build the production image of this componenet with $ npm run build:docker
and others, then start the Server in production mode.
Running in development mode access http://api.localhost/doc.
Running in development mode: $ npm run prisma:studio
# Unit Tests
$ npm run test:unit
# Integration Tests
$ npm run test:int
# E2E Tests
$ npm run test:e2e
# Test Coverage
$ npm run test:unit:cov
$ npm run test:int:cov
$ npm run test:e2e:cov
- Server (server)
- Website (web)
- Content Management (cms)