Skip to content

Opetushallitus/varda-rekisterointi

Repository files navigation

varda-rekisterointi

Purpose

explained here

Technologies & Frameworks

Below is non-exhaustive list of the key technologies & frameworks used in the project.

Backend

  • Spring boot
  • Spring security (CAS)
  • Spring Data JDBC
  • Postgresql
  • Flyway
  • Lombok
  • Swagger
  • db-scheduler

Frontend

  • Typescript
  • React (CRA)
  • Axios
  • Material UI
  • Styled components

Requirements

Required tools for building the project:

  • Java 21 (SDKMan! or similar recommended to manage JDKs)
  • Docker

Project includes maven wrapper so it doesn't have to be installed. Just use ./mvnw (unix) and mvnw.cmd (win).

Database

Create database by running:

docker run --name varda-rekisterointi-db -p 5432:5432 -e POSTGRES_USER=varda-rekisterointi -e POSTGRES_PASSWORD=varda-rekisterointi -e POSTGRES_DB=varda-rekisterointi -d postgres:10.9

This will start the container. Later, it can be started and stopped with docker <start|stop> varda-rekisterointi-db. Integration tests automatically start and stop a database server.

Build

mvn package

Run

./start-local-env.sh