@author Dzianis Berastsen
This is multi-module project with Maven which has 9 modules:
- model
- test-db
- dao-api
- dao
- service-api
- service
- service-rest
- web-app
- rest-app
This app can be used by a doctor in a hospital to keep track of their patients and staff attached to them. More detailed description is provided here.
- Java JDK 15
- Maven
- Spring Boot
- Data JDBC
- Test
- Web
- Thymeleaf
- JUnit
- Bootstrap
- H2 Database
$ git clone https://github.com/Brest-Java-Course-2021-2/Dzianis-Berastsen-Hospital.git
To run the application,first of all we need to build it, for this we need to run given command in the terminal:
$ mvn clean install
Application consists 2 particular modules (web-application & rest-app) that are dependent on each other.
At first run rest-app module which is set up on http://localhost:8088 (can run it using spring devtools or RestApplication.class).
Further run web-app module which is set up on http://localhost:8080 and is listening to :8088 so rest-app must be started already (can run it using spring devtools or HospitalApplication.class)