Install all project dependencies
pnpm install
Create a .env.local
file and copy all values from .env.example
and add all necessary entries
VITE_GRAPHQL_API_ENDPOINT=http://localhost:8000/graphql/
VITE_GRAPHQL_CODEGEN_ENDPOINT=http://localhost:8000/graphql/
VITE_SENTRY_DSN=https://9a60f35c6a1c45fe999727c5f6f7229c@o158798.ingest.sentry.io/1220157,
VITE_SENTRY_TRACES_SAMPLE_RATE=1
pnpm dev
visit http://localhost:5173
To build the App, run
pnpm build
To preview the build
pnpm preview
pnpm dev
- start a development server with hot reloadpnpm build
- build for production. The generated files will be on thedist
folderpnpm preview
- locally preview the production buildpnpm test
- run unit and integration tests related to changed files based on gitpnpm lint
- runsESLint
pnpm stylelint
- runsStylelint
pnpm typecheck
- runstypescript
type checkpnpm codegen
- runsgraphql-codegen
to generate code from GraphQL schema and GraphQL operations