Skip to content

Development

ahesh001 edited this page Oct 3, 2026 · 2 revisions

Development

The active app is React 19, Vite 8, and Firebase's browser SDK. src/main.jsx mounts the app, src/app.jsx defines routes, src/pages/ renders screens, src/context/ manages authentication and workspace state, and src/data/workspace.js defines sample data, validation, summaries, and CSV formatting. Older Expo code under app/ is retained for reference and is not built by Vite.

Use Node.js 20.19 or newer. Run npm ci, then npm test and npm run build. Start the local site with npm run dev at http://localhost:5173. The production output is dist/, which Firebase Hosting serves with browser-route rewrites from firebase.json. A local Docker image can serve the same static build with Nginx.

Pull requests run tests, a dependency audit, a production build, and CodeQL security scanning. Dependabot proposes dependency updates. The optional GitHub Copilot custom agents under .github/agents/ provide bug-fix and feature-building instructions if Copilot coding agent is enabled for the account. Maintainers should review their changes, run checks, and deploy separately. The public endpoint currently uses Firebase Hosting; GitHub does not automatically deploy this repository.

Avoid committing real records, debug logs, private keys, or service-account credentials. Workspace records remain in the current browser; shared cloud storage and permissions have not yet been implemented.

Clone this wiki locally