GOV.UK Stack, Fast
Nunjucks, Express and Fastify, GOV.UK Frontend and CASA for React and .NET developers
- GOV.UK Frontend 6.5
- Express 5 · Fastify 5
- CASA 10, optional
You build React front ends on ASP.NET Core APIs, and your next project is a UK government service on a different stack. This book maps what you know onto it, layer by layer: the request loop, the plumbing, Nunjucks templates, GOV.UK Frontend's components, journeys, validation and the standards you will be assessed on. No Node experience is needed. Express, Fastify, Nunjucks and CASA are each taught from zero, then in depth, so that you can read the code you inherit and write new code without looking anything up. Each depth chapter ends with real code annotated line by line and a new feature built step by step, and the Express 4, Fastify 4 and CASA 9 code in older services is covered too. Every server example shows Express and Fastify side by side, in TypeScript or JavaScript, quoted from one tested example app. Read it in about 1 hour 10 minutes, or 1 hour 25 minutes with the optional part on CASA.
Read online