Skip to content

Visual-Regression-Tracker/backend

Repository files navigation

Code Smells Coverage

Local setup

  • Install Node 18 (LTS)
  • clone repo
  • Update .env and prisma/.env
  • Make sure Postgres is up and running, using docker-compose up in a separate terminal
  • npm i
  • npm run test
  • Create DB structure npx prisma db push
  • Apply migrations npx prisma migrate deploy
  • npm run test:e2e
  • Seed initial data npx prisma db seed
  • npm run start:debug

Local HTTPS config

  • Generate keys here
  • place in folder /secrets named ssl.cert and ssl.key