CRUD Api Rest build with spring boot, JPA, and H2 database
- Java >= 8
- PostMan
- Clone this repo
git clone https://github.com/Winnd11/api-springboot.git
- run main
the app will run at http://localhost:5500
# | Get Users | Get User By Id |
---|---|---|
# | db/user/get | db/user/get/'id' |
# | Insert User | Delete User | Update User |
---|---|---|---|
# | db/insert | db/delete/'id' | db/update/'id' |
The post method to insert, delete and update a user must in row format and type json
{
"name": "dave",
"email": "dave@gmail.com",
"department": {
"id": 2
}
}
This project is licensed under MIT license, read more at docs.github