Two-minute project demo package
You build a two-minute project demo package with a timed customer-and-rider recording script, a README video link, and a portfolio entry.
Ticket
Build a project demo package for the food-delivery system. It includes a recording script, a README Demo section linking to the video, a portfolio entry, and a two-minute recording showing the customer and rider apps side by side.
The recording should make the customer-to-rider workflow understandable without requiring someone to inspect the code first. Your existing WebSocket hub and Transactional outbox help explain how the applications stay connected to the order workflow. The project decisions documented in an Architecture Decision Record provide deeper technical context. The next exercise uses this project as the basis for a five-minute walkthrough.
Acceptance criteria
README.mdcontains a Demo heading and at least one Markdown link inside that section. The link target is either an HTTPS URL or a local video file underdocs/with the extension.mp4,.mov,.webm, or.gif.docs/demo-script.mdcontains at least five timed beat lines. Each line follows- mm:ss description, uses two digits for minutes and seconds, has a timestamp strictly later than the previous beat, and occurs no later than02:00.- Every timed beat in
docs/demo-script.mdcontains both the wordcustomerand the wordrider, regardless of capitalization. docs/portfolio-entry.mdcontains five non-empty fields, each beginning on its own line with the exact labelsTitle:,Summary:,Stack:,Repo:, andDemo:. The Summary is at most 280 characters, the Repo value begins withhttps://github.com/, and the Stack value includesGo, regardless of capitalization.
Constraints
- Write the script and portfolio entry at the exact paths
docs/demo-script.mdanddocs/portfolio-entry.md. Keep the Demo link in theREADME.mdDemo section. - Use the required beat format and timestamp limits. Every beat must mention both applications.
- Keep each portfolio field on its own line. Do not exceed the Summary character limit or omit any required field.
- Do not modify the provided tests.
Design direction
Keep the three documentation files focused on separate jobs. The README gives someone a direct way to find the recording. The demo script describes what happens during the recording. The portfolio entry gives a compact description of the project and where to inspect it.
Plan the recording as one connected customer-to-rider story. Give each beat a clear purpose, and decide what both applications should display during that time. Avoid using the recording for startup sequences or unrelated navigation.
Choose either a local video file under docs/ or a hosted HTTPS URL. A local file keeps the recording with the repository. A hosted URL makes it easier to share without adding a large binary file to the repository. Use the actual recording location in the README link and portfolio entry.
Keep the portfolio Summary focused on what the system does. Put the technology names in Stack, the real GitHub repository URL in Repo, and the actual recording location in Demo.
Any layout that meets the contract passes. The recording and its hosting location are your choices, provided the video meets the two-minute requirement and shows both applications side by side.
How to check your work
Run the documentation tests from the backend directory:
cd backend
make test W=8B6The first failing assertion identifies the document contract that needs attention. Fix the corresponding file before running the command again. The Go tests validate the documentation structure, not the video itself, so review the recording manually to confirm that both applications are visible and the total duration is no more than two minutes.
The reference solution passes every check for this exercise. Try the hints first; reading the answer before you have struggled with the problem teaches much less.
Implementation
Run locally
Write the code in your editor inside zomato-prep, then work through this list.
- README.md has a Demo section linking to the actual recording.
- docs/demo-script.md contains at least five correctly ordered timed beats.
- Every timed beat mentions both the customer and rider applications.
- docs/portfolio-entry.md contains all five required fields.
- The two-minute recording shows both applications side by side.
make test W=8B6passes.
Commands
cd backend && make test W=8B6Tests
TestW8B6_ReadmeLinksTheDemoVideoinbackend/internal/docs/docs_test.goTestW8B6_DemoScriptIsTimedAndFitsTwoMinutesinbackend/internal/docs/docs_test.goTestW8B6_EveryDemoBeatShowsTheCustomerAndTheRiderSideBySideinbackend/internal/docs/docs_test.goTestW8B6_PortfolioEntryHasTheRequiredFieldsinbackend/internal/docs/docs_test.go