Email the owner on every order

About 45 minutesYou need: adjoas-kitchen open in Cursor with npm run dev running, Chrome at localhost:3000/order, your Supabase dashboard (Table Editor → orders), and Gmail open in another tab
This video is in the full courseGet the course to watch every video and read every lesson in full. GHS 399, paid once.Get the course · GHS 399
Video · 17:12
Goal

Make every saved order send Adjoa an email with a clear, readable summary, sent from your Server Action only after the order is safely in the database.

Why this matters

This is the lesson where your app starts doing something on its own. Until now, an order sat quietly in a database table. After this lesson, the moment a customer presses Place order, an email lands in Adjoa's inbox, on her phone, while she's cooking.

For a small business, that email is the order system. It's what makes a client say "the website brought me three orders this morning". It's also where beginners make a mistake that loses real orders: sending the email before the order is saved, or letting an email problem break the whole form. You'll build it the safe way from the start: save first, then tell.

In the full lesson

  1. The idea in plain English
  2. Do it
  3. Check it worked
  4. Understand what AI wrote
  5. Quick check
  6. What you can do now
Stage 2 · Make it workYou’ve seen the why. The how is in the course.

The step-by-step, the prompt to copy, the video and the check-it-worked list, for every lesson in all 15 modules. GHS 399 ($40), paid once by mobile money or card, yours to keep.

Get the course · GHS 399See what’s inside
Already have the course? Open the full lesson