Skip to content

docs: MyGate check-in demo + centers API (rebased on main)#19

Open
maragakn wants to merge 3 commits intomainfrom
chore/combined-pending-rebase
Open

docs: MyGate check-in demo + centers API (rebased on main)#19
maragakn wants to merge 3 commits intomainfrom
chore/combined-pending-rebase

Conversation

@maragakn
Copy link
Copy Markdown
Collaborator

@maragakn maragakn commented Apr 9, 2026

Summary

Rebased on main (includes current Trino/dev scripts from upstream).

Check-in demo

  • docs/demo-checkin-flow.md — regenerate seed, prisma/dev.db path notes, troubleshooting.
  • GET /api/demo/centers — seeded centers from the running server for the demo dropdown.
  • /demo/checkin-flow — center picker, clearer copy and booking hints.
  • .env.example — SQLite path note; README link under Documentation.

Chore

  • .gitignore — ignore stray /dev.db at repo root (Prisma uses prisma/dev.db).

Not in this PR

Docker compose / Dockerfile / demo:docker scripts are kept local only per team preference.

Verify

npm run db:seed → open /demo/checkin-flow → pick a center → create booking.

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
Prisma resolves file:./dev.db to prisma/dev.db; an empty root dev.db is easy to create by mistake.

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.

2 participants