Curriculum
Phase 1
HTTP Entry Points and Raw Responses
Flip your perspective from calling `fetch` to serving HTTP. Using `node:http`, iterate in small steps over startup, responses, headers, JSON, status codes, URLs, and methods.
- Topics
- 8
- topic groups
- Ready
- 90
- implemented tasks
- Total
- 90
- planned tasks
Guest mode: you can grade every exercise, but answers and progress are not saved.
- 01Print a single startup log line after listen completesAuto grading / Feedback
- 02Manage the port number with a constant and use it in the log tooAuto grading / Feedback
- 03Start on 3000 when the PORT environment variable is not setAuto grading / Feedback
- 04Fix the bug that prints the success log before listenAuto grading / Feedback
- 05Log the method and url when a request comes inAuto grading / Feedback
- 06Count incoming requests and include the count in the logAuto grading / Feedback
- 07Consolidate the listen logic into a startServer functionAuto grading / Feedback
- 08Log the cause when listen failsAuto grading / Feedback
- 09Fix the bug where server.listen is called twiceAuto grading / Feedback
- 10Tidy up the startup log, PORT, and request log togetherAuto grading / Feedback