Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 536 Bytes

README.org

File metadata and controls

33 lines (25 loc) · 536 Bytes

Spring Boot Bookstore

This is a simple REST API of a mock bookstore built with spring boot.

Requirements

  • Docker
  • Java 17

Run

Docker

docker-compose --profile app up

Locally

Start service dependencies (database)

docker-compose up

Install project dependencies

mvn install

Start application

mvn spring-boot:run

Deploy

You must set the spring_profiles_active ENV variable to the appropriate stage (e.g. prod)