Quiz: build the core
Six questions on roles, the core flow, email and iterating with the builder and Claude.
Quick recap
- Authentication is included; authorisation (who may see and do what) is your design, checked on the server.
- Build the core flow in thin slices, store times in UTC, and re-check slot availability on the server when confirming.
- An app sends its own mail through
SMTP_*settings frommail_connect_app, never with a password in code. - Iterate in five steps: ticket, plan, build, verify (health and logs), log. A deploy accepted is not an app started.
Where do you ask for a change to an app the builder made?
Show the answer
Correct answer: In the same manager chat; each change becomes a new build against the same app
The docs say: ask for changes in the same chat afterwards; each change is a new build against the same app.
A role check (owner vs staff) must happen where?
Show the answer
Correct answer: On the server, for every request that changes or reads protected data
Hiding a button is user experience, not security. The server must check the role and the account on every request.
How should an app you built send its own booking emails through a my-app mailbox?
Show the answer
Correct answer: Connect it with mail_connect_app so the app gets SMTP_* settings in its environment
mail_connect_app gives the app SMTP_* variables; its code reads only those. A password never goes into code or files.
Claude says a deploy was accepted. Is the app running?
Show the answer
Correct answer: Not necessarily: check get_app_health, and read get_app_logs if it crashed
A deploy being accepted does not mean the app started. Health tells you whether it did; logs tell you why it did not.
Where do you store booking times in the database?
Show the answer
Correct answer: In UTC, plus the salon's time zone to display them
Store instants in UTC and keep the salon's IANA time zone (e.g. Europe/Amsterdam) to convert for display. That survives daylight saving changes.
Which connector permission do you NOT need just to read your app's logs?
Show the answer
Correct answer: Deploy apps
Read deployments covers apps, URLs, status, health and logs. Deploy apps is only needed to ship, restart or stop.
This course is general information, not personal legal, tax or financial advice. Rules, amounts and dates change: check the official source for your country before you act.