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

https://github.com/avijeetpandey/spring-todo-backend

A repo simulating todo application backend made using Java and Springboot
https://github.com/avijeetpandey/spring-todo-backend

java rest-api spring-boot

Last synced: 2 months ago
JSON representation

A repo simulating todo application backend made using Java and Springboot

Awesome Lists containing this project

README

          

## Todo application backend
A simple Todo Application backend
made using spring and Java , still
a work in progress

## Implemented Features
- Ability to create a todo
- Mark a todo complete
- Delete a todo
- Update a todo
- Ability to get list of all todo's
- Global ApiResponse handler to handle both success and failure cases of the API
- Custom exceptions ex ResourceNotFoundException

### ToDo structure
Todo {
title: String
isCompleted: Boolean
createdAt: Date
}

## How to run project ?
Clone the project and install the required dependencies in the gradle file
- Spring web
- Spring dev tools
- Spring JPA
- MySQL connector
- Lombok

After that open IDE of your choice and run `SpringTodoBackendApplication` class and the server will be
running on `PORT = 9000`

You can also configure the project setting as per local system eg MySQL etc
in the `application.properties` file