This repositories holds the two mock APIs for the services required by the PoliMi course PSD - process and service design
These two little nodejs express interfaces are just meant to mock the two desired services; they're practically auto generated from their OpenAPI specification.
This interface mocks the behaviour of an emergency automated system that lets the final user dispatch an ambulance, provided that they're a medic/authorized personnel (the police, for example)
This API is meant for pharmacies, which exposes a web service to doctors/hospitals that lets them change the therapy to specific patients, prescribing or modifying the drugs they're already assuming
just run
docker-compose up --build
in the root folder. The API for 118 service will be sitting on port 3118 and the one for pharmacies on port 3000, as specified in the docker compose file