Skip to content

TODO APP => Spring Boot, React, MySQL, JPA-Hibernate, Maven, Boostrap

Notifications You must be signed in to change notification settings

mtamerb/todo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot, React, MySQL, JPA, Hibernate TODO APP

Preview

API Reference

Get all tasks

  GET /api/list

Create a new task

  POST /api/create

Update a task

  PUT /api/update/{taskID}
Parameter Type Description
taskID Integer Required. ID of the task to update

Mark a task (completed/uncompleted)

  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 All Tasks

  DELETE /api/deleteAll

Delete Specific Tasks

  DELETE /api/delete/{taskID}
Parameter Type Description
taskID Integer Required. ID of the task to delete

Table of Content🚀️

  1. What we will build
  2. Used Technologies
  3. Tech Stack
  4. Use Project

1. What we will build

Build a TODO APP using Spring boot, React, spring data JPA, Hibernate and MySQL database.

2. Requirements

  • Java 20
  • Spring Boot
  • NodeJS and NPM
  • MySql 8
  • Swagger
  • Intellij Idea Ultimate
  • VsCode

3. Tech Stack

  • 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.

4. Use Project

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

Authors

About

TODO APP => Spring Boot, React, MySQL, JPA-Hibernate, Maven, Boostrap

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages