~/talk

How to Node.js - Part 1

Talkat OpenJS World 2022 · 2022-06-06..06-10· [nodejs]
slides:none on file

Hands-on workshop follows the Linux Foundation course to set up Node properly using nvm/NVS for version switching and avoids installers, builds a static UI served with the npm tool g-serve, then adds a mock API: a plain Node http server (watch CORS and charset), converts CommonJS to ESM, and replaces it with Fastify + fluent.json.schema validation to implement GET and POST routes. Demos run on Node 18 (notes IPv6/localhost and Slowloris protection) and show curl tests, live edits, and that the mock server works.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 3:48Workshop overview
  3. 6:04Installing Node.js
  4. 8:32Node version management
  5. 12:20Course materials access
  6. 15:52Live debugging session
  7. 21:28Building a file server
  8. 28:28Lunch break
  9. 43:29API mocking introduction
  10. 50:10Creating a Node server
  11. 1:06:14CommonJS vs ESM
  12. 1:11:17TypeScript and Node
  13. 1:16:32Mocking GET routes
  14. 1:21:19Fastify framework introduction
  15. 1:26:33Fastify security features
  16. 1:32:36Denial of service protection
  17. 1:43:40Fastify project setup
  18. 1:54:54Mocking POST routes
  19. 2:01:48Data validation
  20. 2:13:23Workshop troubleshooting
  21. 2:20:37Lunch and conclusion
  22. 2:34:58Advanced Fastify routing
  23. 2:51:23Workshop wrap-up
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.