Skip to content

Local Dev Setup — Backend

Drive-Shift Bot edited this page Jul 5, 2026 · 1 revision

Local Dev Setup — Backend

Follow these steps to run the backend Java Spring Boot 3 service locally.

Prerequisites

  • Java Development Kit (JDK) 21
  • Maven 3.8+
  • PostgreSQL (either a local instance, Docker container, or Supabase free tier)

Configuration

  1. Navigate to the backend directory:
    cd backend
  2. Create a .env file in the backend folder matching the keys in backend/.env.example. See the Environment Variables Reference page for details.

Run Database Migrations

Database schemas are managed using Flyway. To run migrations manually:

mvn flyway:migrate

Run the Application

Start the Spring Boot backend server on port 8080:

mvn spring-boot:run

Clone this wiki locally