Skip to content

DavIvek/OrderingSystemBE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ordering System Web Service

Name

Ordering System Web Service

About Ordering System

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.

Description

Backend service for ordering system.

Dependencies

If running with docker (recommended):

  • docker
  • docker-compose

Otherwise:

  • maven
  • java 17

Installation

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

Must do:

  • 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

Development

For testing new features:

docker-compose down
docker-compose up --build -d

Database access

# enter database password written in docker-compose.yml and enter postgresql database
docker exec -it ordering-system-db psql -U lorem -W ordering-system  

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published