Created
August 26, 2023 11:08
-
-
Save somratcste/8cd32bdf1b4a2e61b7658401b2b8e377 to your computer and use it in GitHub Desktop.
Create a ToDo Application Using SpringBoot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We would like you to create a ToDo REST-Service Application. | |
Technology: Java, SpringBoot, SpringMVC, Hibernate, JPA, H2 Database | |
Todo | |
{ | |
id [mandatory] | |
name [mandatory] | |
description | |
tasks: [ | |
{ | |
id [mandatory] | |
name [mandatory] | |
description | |
} | |
] | |
} | |
The service shall support the following endpoints/rest-api: | |
GET /tasks -> Returns a list of all Tasks | |
POST /tasks -> Expects a Todo (without id) and returns a Tasks with id | |
GET /tasks/{id} -> Returns a Task | |
PUT /tasks/{id} -> Overwrites an existing Task | |
DELETE /tasks/{id} -> Deletes a Task | |
GET /todos -> Returns a list of all Todos | |
POST /todos -> Expects a Todo (without id) and returns a Todo with id | |
GET /todos/{id} -> Returns a Todo | |
GET /todos/{id}/tasks/id -> Returns a Todo with Task | |
PUT /todos/{id} -> Overwrites an existing Todo | |
DELETE /todos/{id} -> Deletes a Todo | |
Todos must be stored in the Database. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment