/vrt-backend

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Codacy Badge Codacy Badge

Local setup

  • clone repo
  • Update .env and prisma/.env
  • Make sure Postgres is up and running
  • npm i
  • npm run test
  • Create DB structure and apply migrations npx prisma migrate up -c --experimental
  • npm run test:e2e
  • Seed initial data npx ts-node prisma/seed.ts
  • npm run start:debug

Local HTTPS config

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