Skip to main content

Prerequisites


Local Development

1

Clone and install

2

Configure environment

3

Start Redis

4

Run dev servers

The backend starts on http://localhost:8001 by default. The frontend Vite dev server starts on http://localhost:5173.

Environment Variables

All variables are required unless marked optional.

Core

Redis

Email (Resend)

AWS

Stripe

Slack

CDN


Build


Docker

Local container

The docker-compose.yml reads from .env and maps port ${PORT} (default 8001).

Production deployment (AWS ECR)

The deploy.sh script builds for linux/arm64 and pushes to ECR:
What deploy.sh does:
  1. Authenticates Docker to ECR (aws ecr get-login-password)
  2. Builds the image with --platform linux/arm64
  3. Tags as {ECR_REGISTRY}/auditor-report:{env}
  4. Pushes to ECR
ECR registry: 471112865883.dkr.ecr.eu-west-1.amazonaws.com Requires AWS CLI configured with ECR push permissions.

npm Scripts Reference