Build Restful CRUD API for Salary Maker-Frontend application using Spring Boot, Mysql, JPA and Hibernate.
http://localhost:22000/health
1. Clone the application
git clone https://github.com/monirozzaman/Salary-Maker-Backend.git
2. Create Mysql database
create database salaryMaker
3. Change mysql username and password as per your installation
-
open
src/main/resources/application.yml
-
change
spring.datasource.username
andspring.datasource.password
as per your mysql installation
4. Build and run the app using maven .
Alternatively, you can run the app without packaging it using -
mvn spring-boot:run
The app will start running at http://localhost:22000.
The app defines following CRUD APIs.
GET /bank/accounts/{acNo}/details
PUT /bank/add/balance
GET /employees
POST /employees/add
POST /employees/salary
You can test them using postman or any other rest client.