This is a simple TaskManager application built using Java, Spring Boot, and Oracle Database. It provides basic CRUD (Create, Read, Update, Delete) operations for managing tasks.
- Java
- Spring Boot
- Oracle Database
- Spring Data JPA
- JUnit
- Maven
- Spring Web
GET http://localhost:8080/api/tasks
GET http://localhost:8080/api/tasks/{id}
POST http://localhost:8080/api/tasks
Request Body:
{
"title": "Sample Task",
"description": "This is a sample task description.",
"completed": false
}
PUT http://localhost:8080/api/tasks/{id}
Request Body:
{
"title": "Updated Title",
"description": "Updated description of the task.",
"completed": true
}
DELETE http://localhost:8080/api/tasks/{id}
DELETE http://localhost:8080/api/tasks/deleteAll
- Clone the repository to your local machine.
- Navigate to the project directory.
- Open a terminal and run the following command to start the application:
./mvnw spring-boot:run
- To run the tests, execute the following command:
./mvnw test