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

https://github.com/ditschedev/spring-boot-rest-api-docker-postgres-starter

A starter project for a Spring Boot application with docker-compose setup for postgres and h2 as a test-db.
https://github.com/ditschedev/spring-boot-rest-api-docker-postgres-starter

Last synced: over 1 year ago
JSON representation

A starter project for a Spring Boot application with docker-compose setup for postgres and h2 as a test-db.

Awesome Lists containing this project

README

          

# Spring Boot Starter 🚀
A simple starter project to directly get started to develop your backend services. It comes with just the needed things:
* 🌟 Lombok
* 🗄 PostgresDB (H2 for testing)
* 🐳 docker-compose ready to start
* 👀 env variables setup

### Getting started
> After cloning you should update the package matching your domain and project

To get started just clone this repository in a folder you like and start working:
```shell script
git clone git@github.com:ditschedev/spring-boot-rest-api-docker-postgres-starter.git
```

### Configuration
The system is designed to be configured by using environment variables. Copy the `.env.sample` to `.env` and adjust the values
as you like. When booting, the `docker-compose.yml` automatically picks up the values of this file and sets the environment
accordingly.