App Parts Map for the Dating-Safety App¶
Run the App Parts Map for the Dating-Safety App MicroSim Fullscreen
About This MicroSim¶
An App Parts Map shows every part of an app and how the parts connect. This MicroSim draws the map for the book's running example: ten parts, from the member's browser to the scheduled jobs and outside services, joined by thirteen connections.
Click any part to read what it does, and hover a connection to see what passes along it. When you are ready, press Start. You get eight problem reports, worded the way a member or builder would say them. For each one, click the part most likely to hold the cause and confirm.
Every report shows up on a member's screen, but only one of them is caused there. The reports are illustrative.
How to Use¶
- Click parts to read about them. Hover the arrows to see each connection.
- Press Start. Read the report at the top.
- Click the part you think holds the cause, then press Confirm. Your first confirmed choice counts.
- The likely part and its connections turn green; a wrong choice is outlined in red. Press Next report.
- After report 8 you see your score. Start over returns to exploring. Use the + and − buttons to zoom.
Iframe Embed Code¶
You can add this MicroSim to any web page by adding this to your HTML:
<iframe src="https://arunbatchu.github.io/good-enough-engineering/sims/app-parts-map-explorer/main.html"
height="640px"
width="100%"
scrolling="no"></iframe>
Lesson Plan¶
Learning Objective¶
Attribute eight problem reports from a dating-safety app to the part of the App Parts Map most likely to hold the cause, with at least six of eight correct.
Grade Level¶
Adult professional (Good Enough Engineering)
Duration¶
10-15 minutes
Prerequisites¶
Frontend framework, React, build tool, Express, Node.js, file storage bucket, background job, scheduled job, App Parts Map and outside service (Chapters 2 and 3).
Activities¶
- Exploration (4 min): Click every part and read its box. Trace a scan from the browser to the outside check services.
- Guided Practice (8 min): Work through the eight reports. Before you click, follow the arrows back from what the member sees to where the work is done.
- Assessment (3 min): Count how many of the eight reports were caused in the front end. Explain why a problem seen on screen often starts somewhere else.
Assessment¶
Six of eight correct on the first attempt shows mastery. A learner should also be able to explain why broken photos point to the storage bucket and why an overnight problem can live in a scheduled job.
References¶
- vis-network documentation - vis.js community. The library that draws the map.
- Stripe Webhooks - Stripe. How Stripe tells your server a payment happened.
- Chapter 3: The Code Under Your App - this book. The section Drawing Your App Parts Map.