Ordering System Web Service
OrderingSystem is a web application designed to facilitate the ordering process for various medical examinations provided by the healthcare system. Patients can create an account through registration and then proceed to schedule their desired examination with a nurse or doctor. Doctors and nurses have the authority to set examination appointments, while the admin is responsible for managing user accounts.
Backend service for ordering system.
If running with docker (recommended):
- docker
- docker-compose
Otherwise:
- maven
- java 17
docker-compose up --build -d
To test if the backend is up:
curl http://localhost:9200/
If status code is 200 and response message is positive it works!
Or go to http://localhost:9200/
To remove containers:
docker-compose down
- Copy contents from application.properties.template to application.properties
# Add roles to the database
docker exec -it ordering-system-db psql -U lorem -W -f /scripts/orderingsystem.sql ordering-system
For testing new features:
docker-compose down
docker-compose up --build -d
# enter database password written in docker-compose.yml and enter postgresql database
docker exec -it ordering-system-db psql -U lorem -W ordering-system