wiki:BuildInstructions

Build Instructions

The system consists of:

  • Backend: Spring Boot
  • Frontend: React
  • Database: PostgreSQL

Required Software

Operating System

  • Windows 10/11
  • macOS
  • Linux

Backend Requirements

  • Java JDK 21
  • Maven 3.8+
  • PostgreSQL 14+

Frontend Requirements

  • Node.js 22+
  • npm 10+

Development Environment Description

Backend Stack

  • Spring Boot
  • Spring Web
  • Spring Data JPA
  • Spring Security
  • Hibernate
  • PostgreSQL Driver

Frontend Stack

  • React 18+
  • React Router
  • Axios
  • TailwindCSS

Build Instructions

Clone the project

git clone https://github.com/marijakarapandzova/Medora.git

Create database

CREATE DATABASE medora;

Note: The database itself must be created manually. Schema and tables are created automatically by Flyway migrations and Hibernate when the backend starts.

Build and run the backend

mvn clean install
mvn spring-boot:run

Runs on http://localhost:8080

What happens automatically:

  • Flyway applies versioned migrations from src/main/resources/db/migration/
  • Hibernate creates/updates tables with ddl-auto=update

Build and run the frontend

cd frontend
npm install
npm start

Runs on http://localhost:3000

Last modified 6 days ago Last modified on 09/04/26 11:49:10
Note: See TracWiki for help on using the wiki.