Skip to content

Wenox/data-anonymization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anonymisation platform

Test CodeQL Security Sonar Code Quality CodeFactor Sonar - Frontend Sonar - Backend

Prerequisites

  • Docker installed (production environment only)

Environments

  • Production
  • Development
  • Local

Environments are configured from docker/<env>/.env and backend/src/main/resources/application-<env>.properties.

Installation

Production environment

  • Start up everything at once:
cd docker/prod
docker compose up

This should take at least few minutes.

Development environment

  • Docker compose for development environment will start only the PostgreSQL container by default:
cd docker/dev
docker compose up
  • Start server - this requires JDK 17 to be installed, verify with java --version:
cd backend
./mvnw spring-boot:run
  • Alternatively - the server can be run by specifying server profile:
cd docker/dev
docker compose --profile server up
  • Start client - this requires node and yarn to be installed, verify with node -v and yarn -v:
cd frontend
yarn install
yarn start

Usage

Open localhost.