I built this RESTful API with Spring boot that provides CRUD operations to manage a database of engineers. This project demonstrates Springboot fundamentals, Exception handling, JPA and dockerized PostgreSQL.
- Java 17
- Spring Boot
- Spring Data JPA
- PostgreSQL
- Docker
- Maven
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/engineers | Get all engineers |
| GET | /api/v1/engineers/{engineerId} | Get engineer by id |
| POST | /api/v1/engineers | Create new engineer |
| PUT | /api/v1/engineers/{engineerId} | Update engineer by id |
| DELETE | /api/v1/engineers/{engineerId} | Delete engineer by id |
| POST | /api/v1/engineers/{engineerId}/projects | Create new project |
| DELETE | /api/v1/engineers/{engineerId}/projects/{projectId} | Delete project by id |
{
"timestamp": "2026-02-22T09:03:33",
"status": 404,
"error": "Not Found",
"message": "Engineer with id 1 is not found",
"path": "/api/v1/engineers/1"
}