Skip to content

katdev16/Accountability-App

Repository files navigation

Accountability-App

A task manager designed to keep track of tasks and ensure accountability with a point system.

web url :https://accountability-app-psi.vercel.app/


🛠️ Tech Stack

  • Frontend: React
  • Backend: Java (Spring Boot)

🏗️ Architecture

  • Pattern: Model-View-Controller (MVC)

📂 Folder Structure

java
│   ├── com
│   │   └── katdev
│   │       └── accountabilityapp
│   │           ├── AccountabilityApp.java
│   │           ├── config
│   │           │   ├── CorsConfig.java
│   │           │   └── SecurityConfig.java
│   │           ├── controller
│   │           │   ├── TaskController.java
│   │           │   └── UserController.java
│   │           ├── DataTransfer
│   │           │   ├── LoginRequest.java
│   │           │   ├── TaskDTO.java
│   │           │   └── UserDTO.java
│   │           ├── mapper
│   │           │   └── TaskMapper.java
│   │           ├── model
│   │           │   ├── Task.java
│   │           │   └── User.java
│   │           ├── repository
│   │           │   ├── TaskRepository.java
│   │           │   └── UserRepository.java
│   │           └── service
│   │               ├── TaskServiceImpl.java
│   │               ├── TaskService.java
│   │               └── UserService.java
│   ├── resources
│   │   └── application.properties
│   └── Users.java
└── resources
    └── application.properties

📖 API Endpoints

HTTP Method Endpoint Description Request Body
POST /tasks Adds a new task
{
  "title": "Task Title",
  "description": "Task Description",
  "status": "Pending",
  "addedDate": "2024-12-14",
  "completionDate": "2024-12-20"
}
        
GET /tasks Retrieves all tasks None
GET /tasks/{id} Retrieves a task by its ID None
PUT /tasks/{id} Updates a task by its ID
{
  "title": "Updated Title",
  "description": "Updated Description",
  "status": "Pending",
  "completionDate": "2024-12-22"
}
        
DELETE /tasks/{id} Deletes a task by its ID None
PATCH /tasks/{id}/complete Marks a task as completed None

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published