Skip to content

docs: MyGate check-in demo guide + centers API#18

Open
maragakn wants to merge 1 commit intofeat/rwa-session-quote-and-lead-uxfrom
docs/demo-checkin-flow
Open

docs: MyGate check-in demo guide + centers API#18
maragakn wants to merge 1 commit intofeat/rwa-session-quote-and-lead-uxfrom
docs/demo-checkin-flow

Conversation

@maragakn
Copy link
Copy Markdown
Collaborator

@maragakn maragakn commented Apr 9, 2026

Summary

Adds docs/demo-checkin-flow.md with steps to regenerate seeded data, explain prisma/dev.db vs repo-root paths, and troubleshoot Unknown centerId.

Code changes (supporting the doc)

  • GET /api/demo/centers — returns seeded centers from the same DB as the running server.
  • /demo/checkin-flow — center dropdown fed by that API; clearer copy and booking error hint.
  • .env.example — note that SQLite paths resolve from prisma/.
  • README — link under Documentation.

How to verify

  1. npm run db:seed then open /demo/checkin-flow — dropdown should list centers; booking should succeed.
  2. Skim docs/demo-checkin-flow.md for accuracy.

Made with Cursor

- Document prisma/dev.db path, db:seed/db:reset, and troubleshooting
- Add GET /api/demo/centers for seeded centers from the running server
- Improve check-in demo UX with center dropdown and clearer hints
- Clarify SQLite path in .env.example; link doc from README

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant