Demo application built on SpringBoot and MongoDB
The server runs on Tomcat, on http://localhost:8080
Route | METHOD | Description |
---|---|---|
/api/tutorials | GET | Get all tutorials |
/api/tutorials/:tutorial_id | GET | Get tutorial data by id |
/api/tutorials/published | GET | Get all published tutorials |
/api/tutorials | POST | Add a new tutorial data |
/api/tutorials?id | PUT | Update tutorial |
/api/tutorials/:tutorial_id | DELETE | Delete tutorial data by id |
/api/tutorials | DELETE | Delete all tutorials |