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.
- Host: GitHub
- URL: https://github.com/wiirios/api-springboot
- Owner: wiirios
- Created: 2024-09-30T20:48:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-22T00:54:53.000Z (about 1 year ago)
- Last Synced: 2025-03-16T22:52:24.120Z (8 months ago)
- Topics: database, java, spring-boot
- Language: Java
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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": "dave@gmail.com",
"department": {
"id": 2
}
}
```
## MIT License
This project is licensed under MIT license, read more at docs.github