AI full-stack development · Hardware integration
Church venue booking & smart-lock access

Built pro bono for a large church. Volunteer teams book rooms online, and once a booking is approved the door code is issued automatically. Currently undergoing user testing.
The problem
The church needed its teams to book rooms online, admins to approve, doors to open according to bookings, and a reliable record of who opened what — with teams, permissions and room borrowing on top.
My role and the implementation
I took the initial requirements through an MVP and revised rules using on-site demonstrations and administrator feedback. For the lock integration, I found documentation, contacted the supplier, narrowed test cases and operated the hardware manually. AI Agents handled most implementation details.
- Three kinds of door codes — time-limited, one-time, and standing codes for dedicated rooms — each with its own issue, revoke and rotation rules.
- Unlock tracing: each unlock log is matched to the code that was valid at that moment, excluding codes already replaced or revoked.
- Alarms vs. real unlocks: wrong-code attempts don’t count as use, and a failed sync or offline lock never releases a booking by mistake.
- Concurrency: SQLite transactions can’t stop check-then-write races, so work is serialized per room and team, with a single allowed nesting order that rules out deadlocks.
- Secrets are stored encrypted and never sent to the browser; door codes use AES-256-CBC.
Results
- Book → approve (auto-reject on timeout) → time-limited code issued → unlock with the code → unlock traced to the code → code revoked on expiry; apart from the approval itself, every step is automatic.
- Permission capabilities work with roles and team hierarchy; background tasks use a shared scheduler.
- The server and admin app include automated tests; device integration and real usage need separate checks. Currently undergoing user testing.
Screenshots



Stack
React 19 · Vite · TypeScript · Tailwind · Zustand · Express · Prisma · SQLite · Tuya OpenAPI · WeChat · Aliyun SMS · Vitest · Docker · Caddy
Need something similar? Email me: jacobxie@hotmail.com