visualregressiontracker/api

Sponsored OSS

By Visual regression tracker

Updated about 1 month ago

Image
Integration & delivery
API management
Monitoring & observability
0

100K+

visualregressiontracker/api repository overview

Backend app for Visual Regression Tracker

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

Local LDAP test server

  • Run docker compose -f docker-compose.yml -f docker-compose.ldap.yml (see docker docs for multiple-compose-files - merge)
  • test the login with ldap and have a look at the logs
    curl 'http://localhost:4200/users/login' \
    -H 'accept: */*' \
    -H 'accept-language: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7,fr;q=0.6' \
    -H 'content-type: application/json' \
    --data-raw '{"email":"[email protected]","password":"password"}'
    

Tag summary

Content type

Image

Digest

sha256:1d58dee88

Size

268.9 MB

Last updated

about 1 month ago

Requires Docker Desktop 4.37.1 or later.

This week's pulls

Pulls:

161

Last week