Swagger Documentation can be accessed (after running the server) via: http://127.0.0.1:${API_PORT}/api-docs
SQL Diagram can be found here: https://drawsql.app/personal-261/diagrams/clinic#
Collection with all of the requests that were used is attached and can be imported into Postman. For it to properly work, create a new postman environment, and add variables:
- URL: http://127.0.0.1
- jwt: null
- auth_port: 4040
- clinic_port: 4041
- profile_port: 4042
In the global .env file you can edit ports for each API, in local service .env files you can edit settings/ports for specific API.
cd itrex-internship/
docker-compose up -d
To stop the containers run:
docker-compose down
To test the app, run (in separate services):
cd itrex-internship/
yarn install
yarn test