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 setup
make start_dev
This will allow you to run the integration tests locally while having the main app run with hot reloading
In one terminal run:
make start_test
In another terminal:
make test_integration
make run_ci
The 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