Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.15 KB

development-mode.md

File metadata and controls

42 lines (26 loc) · 1.15 KB

Run in Development Mode

Prerequisites

  • IntelliJ IDEA installed
  • Java 21 installed
  • Node.js installed
  • Docker installed

Instructions

Step 1: Create an Environment File

Create an environment file env/dev.env with the following variables:

DATABASE_HOST=localhost
DATABASE_PORT=3306
DATABASE_NAME=finance-dev
DATABASE_USER=user
DATABASE_PASS=password

These variables will connect you to the local database (Step 2). You can also use an external database by changing the values.

Step 2: Start the Local Database (optional)

To start the local database, run the Database run configuration in IntelliJ IDEA.

You can access phpMyAdmin at http://localhost:8081.

Step 3: Start the Backend Server

Start the backend server with the Dev Backend run configuration in IntelliJ IDEA.

You can access the backend at http://localhost:8080.

Step 4: Start the Frontend Development Server

Start the frontend development server with the Dev Frontend run configuration in IntelliJ IDEA.

You can access the frontend at http://localhost:80.