https://github.com/emmanuel-dev000/donut_api
Springboot project based on donuts
https://github.com/emmanuel-dev000/donut_api
java mongodb railway-app rest-api springboot
Last synced: 7 months ago
JSON representation
Springboot project based on donuts
- Host: GitHub
- URL: https://github.com/emmanuel-dev000/donut_api
- Owner: emmanuel-dev000
- Created: 2023-05-12T02:15:05.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-13T03:38:18.000Z (over 2 years ago)
- Last Synced: 2025-01-21T10:09:44.190Z (9 months ago)
- Topics: java, mongodb, railway-app, rest-api, springboot
- Language: Java
- Homepage: https://donut-api-production.up.railway.app/
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Donut-API
Springboot project based on donutshttps://donut-api-production.up.railway.app/donut
Show all donuts.https://donut-api-production.up.railway.app/
Adding a new donut to database
Set body to raw and application/json
e.g:
{
"id": "SampleDonut",
"name": "Sample Donut"
}https://donut-api-production.up.railway.app/donut/{id}
This updates the donut's name.
Change {id} to the donut's id to be updated.
Set body to raw and application/json
e.g:
https://donut-api-production.up.railway.app/donut/SampleDonut
{
"id": "TemptingDonut",
"name": "Tempting Donut"
}