Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Latest commit

 

History

History
37 lines (24 loc) · 612 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 612 Bytes

epistimi-backend

A monolithic backend for Epistimi, built with Spring Boot.

Prerequisites

Setup and run local PostgreSQL database:

docker compose -f docker-compose.yml up -d

Setup required environment variables:

  • JWT_SECRET – secret used to encrypt JWT tokens

Run SQL script (data/sql/users.sql) in order to create an admin user with EPISTIMI_ADMIN role, which is eligible to create new organizations in the systems.

Running

Run unit tests:

./gradlew test

Run integration tests:

./gradlew integration

Start application:

./gradlew run