Skip to content

About

Learning the fundamentals of building a RESTful api with CRUD functionality and PostgreSQL

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

28 Commits

Folders and files

Repository files navigation

Spring Boot Engineer Managment API

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.

Tech Stack

  • Java 17
  • Spring Boot
  • Spring Data JPA
  • PostgreSQL
  • Docker
  • Maven

API Endpoints

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

Example Error Response

{
  "timestamp": "2026-02-22T09:03:33",
  "status": 404,
  "error": "Not Found",
  "message": "Engineer with id 1 is not found",
  "path": "/api/v1/engineers/1"
}

About

Learning the fundamentals of building a RESTful api with CRUD functionality and PostgreSQL

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages