Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.61 KB

README.md

File metadata and controls

57 lines (39 loc) · 1.61 KB

UI

Getting started

Prerequisites

Installation

npm i

Environment

The application includes .env.development files with sample working development environment variables. Not all required environment variables are included in .env.development, i.e. Firebase environment variables.

  • VITE_FIREBASE_APP_ID
  • VITE_FIREBASE_API_KEY
  • VITE_VAPID_KEY
  • VITE_MESSAGING_SENDER_ID
  • VITE_GOOGLE_CLOUD_PROJECT
  • VITE_FIREBASE_AUTH_DOMAIN
  • VITE_GA_MEASUREMENT_ID

Most the Firebase environment variables can be found using this short guide. Refer to .env.example for the complete list of required environment variables.

Available Scripts

npm run dev

Start a local web server with HMR in development mode. Open http://localhost:5173 to view it in your browser.

npm run build

Builds the application for production to the dist folder.

npm run preview

Starts a local web server that serves the dist folder in production mode. Open http://localhost:4173 to view it in your browser.

npm run test

Runs Playwright end-to-end tests. May require additional browser installations.