An open API service indexing awesome lists of open source software.

https://github.com/arpitpy/springboottodolist

A ToDo list app made in Spring Boot with advanced error handling and DTOs
https://github.com/arpitpy/springboottodolist

java spring-boot todoapp todolist

Last synced: 6 months ago
JSON representation

A ToDo list app made in Spring Boot with advanced error handling and DTOs

Awesome Lists containing this project

README

          

# 📝 To-Do List Application
## This is an over engineered To-Do application made using Spring Boot.
It used advance concepts like:
- Custom Error Handling
- Clean API using DTOs
- Controller-Service architecture

### ❓ How to use?
- Run the spring boot application, the app will open at localhost:8080
- Then open Postman and create API requests to the app.
- Here are some sample requests:
- Create New Task
```
Request Type: POST
Link: http://localhost:8080/api/tasks
JSON Body:
{
"title": "Feed dog",
"description": "Give food to dog"
}
```
- Fetch All Tasks
```
Request Type: GET
Link: http://localhost:8080/api/tasks
```
- Fetch Task By Id
```
Request Type: GET
Link: http://localhost:8080/api/tasks/
```
- Update Task By Id
```
Request Type: PUT
Link: http://localhost:8080/api/tasks/
JSON Body:
{
"title": "Feed dog",
"description": "Give food to dog",
"completed": true
}
```
- Delete Task By Id
```
Request Type: DELETE
Link: http://localhost:8080/api/tasks/
```