Files
task-manager/README.md
2026-03-03 16:19:29 +00:00

29 lines
631 B
Markdown

# Task Manager API
A REST API built with Spring Boot for managing tasks.
## Tech Stack
- Java 21 / Spring Boot 4
- Spring Data JPA + H2 Database
- Spring Security (HTTP Basic)
- JUnit 5
## Endpoints
| Method | URL | Description |
|--------|-----|-------------|
| GET | /api/tasks | Get all tasks |
| GET | /api/tasks/{id} | Get task by ID |
| POST | /api/tasks | Create a task |
| PUT | /api/tasks/{id} | Update a task |
| DELETE | /api/tasks/{id} | Delete a task |
## Run locally
```bash
git clone https://git.deklab.dev/dek/task-manager.git
cd task-manager
./mvnw spring-boot:run
```
Default credentials: `admin` / `admin`