An open API service indexing awesome lists of open source software.

https://github.com/sarakhild/springboot-data-jpa-project

This project simplify SpringBoot with Spring Data JPA CUDR Concept.
https://github.com/sarakhild/springboot-data-jpa-project

java json mysql springboot springdatajpa

Last synced: 4 months ago
JSON representation

This project simplify SpringBoot with Spring Data JPA CUDR Concept.

Awesome Lists containing this project

README

        

# SpringBoot with Spring Data JPA CUDR Concept.


## Overview
The project is about the employee's so it can display employees, add new employee, updates employee info and delete employee as JSON.


## Usages
- SpringBoot
- SpringJPA
- MySQL

## Architecture of the Project

### 1- src folders
- Controllers folder
- Entities folder
- DAO folder
- Services folder

### 2-Maven pom.xml

```


org.springframework.boot
spring-boot-starter-data-jpa


org.springframework.boot
spring-boot-starter-web


org.springframework.boot
spring-boot-devtools
runtime
true


mysql
mysql-connector-java
runtime


org.springframework.boot
spring-boot-starter-test
test

```

### 3-Application.properties.yml

```
server.port=8081
spring.datasource.url = jdbc:mysql://localhost:3306/employee-directory?useSSL=false&serverTimezone=UTC
spring.datasource.username=springemployee
spring.datasource.password= springemployee

```

## Let's Start :mechanical_arm:
### • Display Empoyees
Screenshot 1445-04-06 at 1 42 58 PM

### • Add new Employee
Screenshot 1445-04-06 at 1 41 06 PM

### • Update Empoyee
Screenshot 1445-04-06 at 1 45 43 PM

### • Delete Employee
Screenshot 1445-04-06 at 1 42 39 PM

---

### Good Luck