The application uses the following:
- TypeScript
- Express.js
- GraphQL (Apollo Server)
The structre is as follows:
- Repositories is the data access layer
- Services is the business logic layer
- Resolvers is the GraphQL resolver layer
- Schemas holds all the GraphQL schemas
To run the setup and install all dependencies
make setupmake start_devThis will allow you to run the integration tests locally while having the main app run with hot reloading
In one terminal run:
make start_testIn another terminal:
make test_integrationmake run_ciThe compose files use liberoadmin/reviewer-mocks:latest.
- make sure you have the current image with:
docker pull liberoadmin/reviewer-mocks:latest
- when changing mocks locally, tag it accordingly:
cd ../reviewer-mocks make build docker tag \ libero/reviewer-mocks:local \ liberoadmin/reviewer-mocks:latest