Skip to content

SpringBoot + Angular APP to Register Hospitals and related information

Notifications You must be signed in to change notification settings

tanbinh123/HospitalRegistration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

HospitalRegistration

Steps to Run APP

Client

Under HospitalRegistrationClient folder run:

npm install

npm start

Database

Having docker installed run the following command:

docker run --name some-mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=HospitalRegistry -d mysql

Server

Open the src\main\resources\application.properties file:

Change:

spring.datasource.url=jdbc:mysql://192.168.99.100:3306/HospitalRegistry

for the Corresponding IP where mysql is running.

spring.datasource.url=jdbc:mysql://{YOUR_IP}:3306/HospitalRegistry

Note: If running on docker using docker machine the Ip can be different. If running on docker for linux the Ip should be localhost.

Open in Ecipse the HospitalRegistrationService folder

Run the file HospitalRegistrationServiceApplication.java as Java Application

About

SpringBoot + Angular APP to Register Hospitals and related information

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 60.4%
  • Java 28.0%
  • HTML 7.7%
  • JavaScript 2.3%
  • CSS 1.6%