Skip to content

Template for Springboot projects using Docker and Postgres, and Gradle build tool.

Notifications You must be signed in to change notification settings

reemi1510/springboot-psql-docker-gradle-project

Repository files navigation

springboot-psql-docker-gradle-project

Purpose

A template for building RESTful apis without the setup faff, hopefully.

Basic functional and integration test suites are set up with Testcontainers.

Similar to my other one, bt this one uses the gradle build tool, and I've opted for yaml files in lieu of application.properties

Prerequisites

  • Java 8
  • Docker

For a full list of dependencies, see build.gradle

Running the application

docker-compose up --build

The template uses a PostgreSQL database which runs in Docker and automatically applies database migrations using flyway.

To explore the database:

docker exec -it postgres bash

Then: psql -U postgres

Then connect to projectdb.

About

Template for Springboot projects using Docker and Postgres, and Gradle build tool.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published