Web application for Dahenfeld
npm installnpm run devnpm run buildRun Unit Tests with Vitest
npm run test:unitRun End-to-End Tests with Cypress
npm run test:e2e:devThis runs the end-to-end tests against the Vite development server. It is much faster than the production build.
But it's still recommended to test the production build with test:e2e before deploying (e.g. in CI
environments):
npm run build
npm run test:e2eLint with ESLint
npm run lintYou need to configure your own environment file (/.env) which contains some mandatory data.
# Backend
VITE_BACKEND_URL=""
VITE_BACKEND_AUTH_USER=""
VITE_BACKEND_AUTH_PASSWORD=""
# Virtual Tour
VITE_VIRTUAL_TOUR_API_KEY=""
VITE_VIRTUAL_TOUR_MAP_ID=""
# Firebase
VITE_FIREBASE_API_KEY=""
VITE_FIREBASE_AUTH_DOMAIN=""
VITE_FIREBASE_PROJECT_ID=""
VITE_FIREBASE_STORAGE_BUCKET=""
VITE_FIREBASE_MESSAGING_SENDER_ID=""
VITE_FIREBASE_APP_ID=""
VITE_FIREBASE_MEASUREMENT_ID=""
VITE_FIREBASE_VAPID_KEY=""