DevJourney · code I wrote while learning

README.md

React + Vite App

This app is built with Vite and React. Dependencies are managed with pnpm.

Scripts

Run these from this directory:

CommandDescription
pnpm installInstall dependencies from pnpm-lock.yaml
pnpm devStart the dev server on http://localhost:3000
pnpm buildBuild for production into build/
pnpm previewServe the production build locally
pnpm testRun the unit tests with Vitest

Notes

  • Vite reads index.html from the project root, not from public/.
  • Only variables prefixed with VITE_ are exposed to the client.
  • pnpm install --frozen-lockfile is what CI runs, so commit lockfile changes.