Assignment: your first working version
Time to put module 2 into practice. By the end of this assignment your app runs on its own address, people can log in with the right permissions, and the core flow works end to end including email. Plan about two hours, possibly spread over a few evenings.
Step 1: check the starting point
Open your apps on the dashboard and find your app. Note its address (https://<app>.<your-username>.my-app.engineer) and its status (live or still starting).
Then let Claude confirm it from the other side:
Use my my-app.engineer workspace. Call list_apps and get_app_health for [app name]. Tell me the app's URL, whether it is healthy, and if not, read get_app_logs and explain why in plain words. Change nothing.
Step 2: accounts and roles
- Send your roles request (from the lesson Accounts, login and roles) to the manager chat.
- Create two test salons (or two test accounts in your product) with an owner each, and a staff user in the first.
- Run the six attack tests. Write each result in your change log.
- Fix and re-test until all six pass.
Step 3: the core flow in slices
Build your core flow in thin slices. After each slice:
- test it on your phone, on mobile data;
- write the result in your change log;
- check health and logs if anything looks wrong.
Step 4: emails
Set up your transactional emails with the four templates (or your equivalent). Check that they arrive, not in spam, and that times show the right time zone. If your app sends through a my-app mailbox, use mail_connect_app so the app gets SMTP_* settings; no passwords in code.
Step 5: the double-booking test
Open the booking page in two browsers (or a browser and your phone). Select the same slot in both and confirm within a few seconds of each other. Exactly one must succeed. If both succeed, go back to the data model lesson: you need the database constraint or a locked transaction.
Step 6: a first outside test
Ask one friendly person in your target group (a salon owner you interviewed, for Bookwise) to book through your page while you watch, without help. Write down every moment they hesitate. Those are your next tickets.
Do not explain anything during the test. If you have to explain it, the screen has to change. Say only: "Please book a haircut for next Tuesday, and think out loud."
Bookwise
After three evenings, Bookwise runs at its my-app.engineer address. All six authorisation tests pass, the double-booking test refuses the second click with "This time was just booked", and a salon owner from the interviews booked a test appointment in 70 seconds. She hesitated once: she did not see that "anyone" was a choice. Ticket 015.
Work through all six steps and tick off the checklist. Share a screenshot of your booking page (no personal data) in the community for feedback.
Checklist
- My app is live on its <app>.<username>.my-app.engineer address
- I can sign up, log in, log out and reset my password
- A user of one account cannot see data of another account (tested with two test accounts)
- The core flow works end to end, including the confirmation email
- A double booking attempt is refused
- I keep a change log with every build or deploy and what it changed
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.