Skip to content

Latest commit

 

History

History
30 lines (30 loc) · 554 Bytes

README.md

File metadata and controls

30 lines (30 loc) · 554 Bytes

LAKIK Backend

Requirements

  • Java 11+
  • PostgreSQL 14+
  • (alternative) Docker Engine

Development

Environment Variables

Set environment variables with key below (do not use .env):

DB_HOST=
DB_NAME=
DB_PASSWORD=
DB_PORT=
DB_USERNAME=

Run the App

./mvnw spring-boot:run

Compile and Run the JAR

mvn package -DskipTests
java -jar target/lakik-0.0.1-SNAPSHOT.jar

(Alternative) Development using Docker Compose

Run the app

docker-compose up -d

and use docker-compose down to stop.