Front-end application (end-user & operator UI). Reads on-chain and calls server APIs.
- Implement user workflows and views
- Use read-only on-chain calls where appropriate
- Delegate writes to
backend-api
- Out: HTTP to backend-api
- In (artefacts): ABIs from
contractsfor client-side decoding (read-only)
- backend-api: main data/API provider
- contracts: ABIs for client-side types/decoding
- deploy: local dev orchestration and environment wiring
src/application codepublic/static assetsDockerfilecontainer build
- Install dependencies:
npm ci - Start the dev server (see
package.jsonscripts) - Env in
.env.local(never commit secrets)
- Unit/component tests as added (e.g. Vitest/Jest/RTL)
- Lint & tests on PR/push
- Build (and optionally containerise) on push to
main
- Front-end artefacts or container images; deployed via
deploy