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

https://github.com/wiirios/api-springboot

project developed in Spring Boot that implements a CRUD system for people management in a database.
https://github.com/wiirios/api-springboot

database java spring-boot

Last synced: 3 months ago
JSON representation

project developed in Spring Boot that implements a CRUD system for people management in a database.

Awesome Lists containing this project

README

        

# SpringBoot Api
CRUD Api Rest build with spring boot, JPA, and H2 database

## Intalation

- Java >= 8
- PostMan

## Getting Started
1. Clone this repo
```git
git clone https://github.com/Winnd11/api-springboot.git
```

2. run maven
```git
./mvnw.cmd spring-boot:run
```

the app will run at http://localhost:5500

---

### Get Methods

| Get All Users | Get User By Id |
| -- | -- |
| /db | /db/'id' |

---

### Post Method

| Insert User |
| -- |
| /db |

---

### Delete Method

| Delete User By Id |
| -- |
| /db/'id' |

---

### Patch Method

| Update User |
| -- |
| /db |

---

The POST and PATCH methods must be in row format and use JSON type

```json
{
"name": "dave",
"email": "[email protected]",
"department": {
"id": 2
}
}

```

## MIT License
This project is licensed under MIT license, read more at docs.github