Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 927 Bytes

File metadata and controls

60 lines (40 loc) · 927 Bytes

Continuous Compliance UI project

Warning

This repository is still very much in development, and not ready for use yet.

Project Setup

Install and use NVM: https://github.com/nvm-sh/nvm

nvm install 20 && nvm use 20
npm install

Configuration

Locally

To configure the running frontend, add a file called public/config.json with your configuration.

This file will also be used when running in Docker.

{
  "API_URL": "http://localhost:9000"
}

In Production

Mount a file called /app/config.json with your configuration.

Compile and Hot-Reload for Development

# Using Docker
docker-compose up -d

# Running locally
npm run dev

Type-Check, Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run test:unit

Lint with ESLint

npm run lint