Welcome
![]() | ![]() |
Step-by-Step Introduction to the [NestJS] Web Framework
Created by the Claude AI from Anthropic at the request of Serge Tahé - September 2026
This document is a translation of the original French version, generated using an automated tool. Some expressions or technical terms may not fully reflect the original meaning.
This course shows, step by step, how to build an MVC web application with the NestJS framework and the TypeScript language. The HTML pages are generated by the server with the Handlebars view engine, with no JavaScript framework in the browser.
It starts with 28 small projects, each focused on a single concept: controllers, actions and routing; modules and dependency injection; converting and validating parameters with pipes; Handlebars views, layouts, partials and helpers; forms, validation and the Post / Redirect / Get pattern; internationalization; data scopes; the request life cycle (middleware, guards, interceptors, pipes, exception filters); JWT authentication in a cookie, roles, captcha and rate limiting; and finally a layered web / business / DAO architecture with TypeORM and MySQL, with transactions and optimistic locking.
Then comes a complete case study, RdvMedecins: an appointment-booking application for a medical practice, made of about sixty files that are all commented, with three roles (administrator, doctors, patients) and a French and English interface built with Bootstrap 5.
Prerequisites: the basics of web programming (HTTP, HTML). The course follows the progression of the course Introduction to the ASP.NET MVC Framework through Examples (2013), adapted to Node.js and TypeScript.
This course is the first in a series that covers the same 28 examples, number by number, with other frameworks: ASP.NET Core MVC, Spring MVC, Flask, Laravel, Symfony and Django.

