Skip to content

horext/app-api

Repository files navigation

Horext App API

Horext App API built using Spring Boot, Gradle, Java JDK 17, Exposed, and PostgreSQL.

Getting Started

Development setup

Prerequisites

Requirements to run the project:

Optional requirements:

Create .env file

  • Copy .env.example to .env file via command below
cp .env.example .env
  • Fill in the environment variables in the .env file
  • Do you need to create the database and setup in .env

Running the project

For Windows use: gradlew instead of ./gradlew

Initialize the database by running the following command:

./gradlew flywayMigrate -i

For live reload, run the following command (recommended):

./gradlew compileKotlin --continuous --parallel --build-cache --configuration-cache

Next, run the following command to start the application:

./gradlew bootRun

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely:

Additional Links

These additional references should also help you: