An open API service indexing awesome lists of open source software.

https://github.com/jordanmarcelino/spring-contact-api

Spring Boot Contact API with PostgreSQL
https://github.com/jordanmarcelino/spring-contact-api

backend-api java spring spring-boot

Last synced: 5 months ago
JSON representation

Spring Boot Contact API with PostgreSQL

Awesome Lists containing this project

README

          

# Spring Contact Management API

Learning creating REST API with Spring Boot and PostgreSQL.

This project is using Java version 21 and Spring Boot
version 3.3.5

## How to Run

### 1. Clone the Repository

```bash
git clone https://github.com/JordanMarcelino/spring-contact-api.git

cd spring-contact-api
```

### 2. Build and Run the Docker Images

```bash
docker compose up -d --build
```

## Usage

You can see the API Documentation at `api/openapi-spec/swagger.yaml`.

### 1. Download the Postman Collection & Environment

You can download the Postman Collection and Environment at ```postman/*.json```.

### 2. Import the Postman Collection & Environment

Open the Postman application and import the collection and environment. You can try the API with the predefined request.