Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wiirios/api-springboot
an api built with spring-boot, JPA and H2 database
https://github.com/wiirios/api-springboot
database java spring-boot
Last synced: about 1 month ago
JSON representation
an api built with spring-boot, JPA and H2 database
- Host: GitHub
- URL: https://github.com/wiirios/api-springboot
- Owner: wiirios
- Created: 2024-09-30T20:48:31.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-22T00:54:53.000Z (2 months ago)
- Last Synced: 2024-11-13T18:45:25.783Z (about 2 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": "[email protected]",
"department": {
"id": 2
}
}```
## MIT License
This project is licensed under MIT license, read more at docs.github