ShelfForward Deployed EngineerBlockchain Developer
TypeScript and JavaScript · Intermediate · 6 h
TypeScript in practice
Validate data at the boundary with zod, and build and test a small HTTP service with Node's built-in modules.
Why employers care: Integrations fail at the boundaries, on unexpected API responses and unsigned webhooks. Typed, validated and tested code is what makes them reliable.
In the roadmaps for: Forward Deployed Engineer, Blockchain Developer
Lessons, in order
- Validate data at the boundary with zodTypes disappear at runtime. Validate every external response with a schema, derive the type from it, and fail with a clear message.3 min
- A tested webhook service with Node's built-in modulesReceive webhooks safely: verify the signature, limit the body size, validate the payload and test it all with node:test.4 min