This is the service for managing yara warehouses and products of a given client. You can find a detailed diagram about how it works and what is the database modeling behind it by clicking here or looking to this image bellow:
You can find the GraphQL API playground here: https://yara-stock-service.onrender.com/graphql
If you run to run the service locally, you can follow these instructions bellow.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
- SEED
- TRANSACTIONS
- MIGRATIONS
- VALIDATIONS FACTORY