Thanks for improving HiCAD-R.
pnpm install
cp .env.example .env
./start.shThe app defaults to JSON persistence in data/. Keep local data, secrets, screenshots, and test output out of commits.
- Prefer small, focused changes.
- Keep shared types in
shared/when behavior crosses backend and frontend. - Add tests near the changed behavior.
- Do not commit generated build output from
frontend/dist,backend/dist, orshared/dist. - Keep unrelated local changes out of your commit.
Before opening a pull request, run:
pnpm format:check
pnpm lint
pnpm test
pnpm typecheck
pnpm build
pnpm bundle:checkFor release-level changes, also run:
pnpm audit:prod
pnpm test:e2e
pnpm ci:quality- API routes should stay under
/api. - Add or update Swagger metadata for new controllers and DTOs.
- Never log secrets directly. Use the redaction helper when logging structured errors or upstream payloads.
- Production deployments must use random JWT and payment callback secrets.
HiCAD-R is derived from MrXujiang/HiCAD. Keep the GPL license and attribution intact when redistributing.