Frontend : https://github.com/mtamerb/react-todo
GET /api/list
POST /api/create
PUT /api/update/{taskID}
Parameter | Type | Description |
---|---|---|
taskID |
Integer |
Required. ID of the task to update |
PUT /api/update/check/{taskID}/{completed}
Parameter | Type | Description |
---|---|---|
taskID |
Integer |
Required. ID of the task to be marked |
completed |
boolean |
Required. Status of the task (completed/uncompleted) |
DELETE /api/deleteAll
DELETE /api/delete/{taskID}
Parameter | Type | Description |
---|---|---|
taskID |
Integer |
Required. ID of the task to delete |
- What we will build
- Used Technologies
- Tech Stack
- Use Project
Build a TODO APP using Spring boot, React, spring data JPA, Hibernate and MySQL database.
- Java 20
- Spring Boot
- NodeJS and NPM
- MySql 8
- Swagger
- Intellij Idea Ultimate
- VsCode
- Java - Java is a powerful general-purpose programming language-
- Spring - The Spring Framework is an application framework and inversion of control container for the Java platform.
- React - React is an open source javascript library for creating user interfaces.
- MySQL - MySQL Database is a client/server system that consists of a multithreaded SQL server that supports different back ends, several different client programs and libraries, administrative tools, and a wide range of application-programming interfaces (APIs).
- Jpa -The Java Persistence API (JPA) is a specification of Java. It is used to persist data between Java object and relational database.
- Maven - Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.
- Postman - Postman is an API platform for building and using APIs.
- Lombok - Project Lombok (from now on, Lombok) is an annotation-based Java library that allows you to reduce boilerplate code.
- Intellij Idea - IntelliJ IDEA is an Integrated Development Environment (IDE) for JVM languages designed to maximize developer productivity.
1-The simplest way is to use clone this repository.
git clone https://github.com/mtamerb/todo-app.git
2-Then navigate to the path where the todo project is located in the Terminal
cd todo-app
3- Configure database: go application properties file then :
spring.jpa.hibernate.ddl-auto=update
spring.datasource.url=jdbc:mysql://localhost:3306/{your-schema}
spring.datasource.username={your-username}
spring.datasource.password={your-password}
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver