Bring these concepts with you
Your implementation
- Run all six acceptance groups against your implementation. Fix failures before comparing with the reference.
- Manually verify registration, login, reload, private invoice, denied invoice, logout, and reload again. The Node checks send cookie headers manually; they do not prove browser cookie enforcement.
- Record a two-minute explanation: follow a request from the browser to session lookup and authorization. Then explain your biggest production gaps.
node checks.mjs ./starter.mjs 6
# Then run node starter.mjs and complete the browser walkthrough.Need a hint?
- Explain why each negative case matters, not just that the happy path works.
- Discuss HTTPS/Secure cookies, durable shared storage, asynchronous hashing, rate limits, recovery, observability and CSRF strategy.
Saved on this device · 0 / 6000 · Do not include passwords or private data.
Acceptance checks
From the folder containing your downloaded files, run:
node checks.mjs ./starter.mjs 6This runs checks up to this step. Earlier steps must work first. Mark each result only after checking your implementation; the website does not run or grade it.
Record your attempt to enable the checklist and reference comparison.
Compare with the reference
Attempt the step first, then compare decisions and behavior. There can be more than one correct implementation.
After attempting every step, compare against the complete runnable app.
Save reference.mjs with your checks file. Stop the starter server, run node checks.mjs ./reference.mjs 6, then node reference.mjs. Open http://127.0.0.1:3210.
Attempt every step to unlock the complete reference downloads.
Your interviewer asks
Walk me through your login design. I copied a cookie before logout: what happens next, and which test proves it?
Say your answer aloud, then record the trade-offs and evidence in your notes above.