← All courses
Beginner · 4 lessons
From JavaScript to Fastify: one Task API, four levels
A hands-on backend track for engineering teams. Over four lessons one Task API grows with the stack: from plain JavaScript and safe async code to strict TypeScript, the Node.js event model and Fastify production boundaries.
- 01Modern JavaScript: the Task API starts with the domainES modules, immutable transformations, async/await and clear errors, on a framework-free task store.70 min
- 02TypeScript from JavaScript: model states, don’t hide errorsMigrating Task Core to strict TypeScript: domain types, narrowing, discriminated unions, unknown and a validated boundary for external data.75 min
- 03Node.js as a backend runtime: event loop, I/O and built-in testsWhat happens under async/await, why sync I/O blocks every client, and how to build a non-blocking file store with node:test tests.75 min
- 04Fastify production API: schemas, hooks and HTTP testsThe final vertical slice: typed routes, JSON Schema, one error contract, request context, graceful shutdown and inject tests.80 min