Skip to content

otaviorodriguess/taskmanager-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 TaskManager API

RESTful Task Management API built with Spring Boot
Clean Architecture • JPA/Hibernate • H2 Database


📌 About the Project

The TaskManager API is a backend application developed using Java 17 and Spring Boot.
It provides a complete RESTful API for task management, implementing CRUD operations and data persistence with JPA/Hibernate.

This project was designed to strengthen backend fundamentals and apply clean code and layered architecture principles.


🏗️ Architecture

The project follows a layered architecture pattern:

Controller → Service → Repository → Database

📂 Project Structure

src/main/java
 └── com.taskmanager
      ├── controller
      ├── service
      ├── repository
      ├── model
      └── TaskManagerApplication.java

🚀 Tech Stack

  • Java 17
  • Spring Boot 3.2.2
  • Spring Web
  • Spring Data JPA
  • Hibernate
  • H2 Database
  • Maven

⚙️ How to Run

1️⃣ Clone the repository

git clone https://github.com/otaviorodriguess/taskmanager.git

2️⃣ Navigate to the project folder

cd taskmanager

3️⃣ Run the application

mvn spring-boot:run

The application will be available at:

http://localhost:8080

📡 API Endpoints

🔹 Create Task

POST /tasks

{
  "title": "Study Spring Boot",
  "description": "Read official documentation",
  "completed": false
}

🔹 Get All Tasks

GET /tasks


🔹 Update Task

PUT /tasks/{id}

{
  "title": "Study Spring Boot",
  "description": "Documentation completed",
  "completed": true
}

🔹 Delete Task

DELETE /tasks/{id}


🗄️ H2 Database Console

Access the in-memory database console:

http://localhost:8080/h2-console

JDBC URL:

jdbc:h2:mem:testdb

Username: sa
Password: (leave blank)


🔮 Future Improvements

  • 🔐 Implement authentication with Spring Security + JWT
  • 🧪 Add unit and integration tests
  • 🐳 Docker containerization
  • ☁ Cloud deployment (AWS / Railway / Render)
  • 📑 Swagger/OpenAPI documentation

👨‍💻 Author

Otávio Rodrigues
Backend Developer | Java | Spring Boot


⭐ If you like this project, consider giving it a star!

About

The TaskManager API is a backend application developed using Java 17 and Spring Boot.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages