This is project for hospital center.People can registartrion and after this they are have account. In this account you have your diagnosis, treatments.Also if you want ask question, you can send chat message to doctor in application.
git clone https://github.com/drnserhio/hospitalManage.gitIn this diagram you can see diagram entity user and relationships with one to many to (Analyze, Treatment, Video)
The application uses Spring Boot,Spring WebSocket, Java Mail, MySQL, Mongo, Angular.
Spring bootuses the idea of manipulation infromation about patient in hospital.Spring WebSocketuses stomp connection in js ui.Java mailuses google stmp and send message information for user.MySQLuses manipulation entity User, Analyze, Treatmen, Video and relationships.Mongouses manipulation fast input, output chat messages.Angularuses component manipulation data json for api backend.
Spring Security was override and add other filter for jwt token process.
The secret key is stored in application.yml.
🔑 Role:
Super AdminAdminSecretaryDoctorUser
When you start applicatiion you have 5 users.
Super Admin
login: rick
password: 5600Admin
login: morthy
password: 5600Secretary
login: betty
password: 5600Doctor
login: summer
password: 5600User
login: jerry
password: 5600-
H2Test uses aH2 in-memory database. In test folder resources initial sql schema andapplication-test.yml -
MySQLHibernate auto create table. In folder resources propertiesapplication.yml. -
MongoCollections auto create. In folder resources propertiesapplication.yml.
You'll need Java 17 installed. Maven jar
deploy.sh
Try it out with Docker
You'll need Docker installed. Docker compose
deploy-docker.sh
To test that it works, open a browser tab at http://localhost:4200 .
gmail : [email protected]
instagram : drn_serhio

