Learn to build a fully typed Express server with TypeScript, covering routes, middleware, data handling, and more.
✏️ Study this course interactively on Scrimba:
https://scrimba.com/learn-typescript-...
Code is available on the Scrimba course page for each lesson.
TypeScript makes Express servers safer, more scalable, and easier to maintain. In this hands-on module, you'll go from setting up a TypeScript-powered Express environment to structuring routes, controllers, and middleware with full type safety. By the end of the video, you'll have the skills to build production-ready Express APIs with confidence.
❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp
⭐️ Contents ⭐️
0:00:00 Intro to Express & TypeScript
0:02:08 Setting up a Express and TypeScript Environment
0:05:14 Set up your environment
0:07:12 Setting up an Express & TypeScript project
0:10:15 Running an Express & TypeScript project
0:13:17 Typing Express data
0:15:34 Restarting the Express server
0:19:22 Typing the real data
0:23:40 Request and Response types
0:26:29 cors and TypeScript
0:29:13 Typing the 404 catch-all
0:31:19 Automating the server restart
0:32:56 A more specific Response
0:35:25 A more specific Request
0:39:03 Non-existent IDs
0:41:31 String query params
0:44:43 An even more specific Request
0:47:27 Boolean query params
0:51:00 Number query params
0:54:05 Separating concerns with Router
0:59:15 Separating concerns with controllers
1:03:13 Adding and typing middleware
1:08:53 Your own middleware
1:13:30 Congratulations!
🎉 Thanks to our Champion and Sponsor supporters:
👾 @omerhattapoglu1158
👾 @goddardtan
👾 @akihayashi6629
👾 @kikilogsin
👾 @anthonycampbell2148
👾 @tobymiller7790
👾 @rajibdassharma497
👾 @CloudVirtualizationEnthusiast
👾 @adilsoncarlosvianacarlos
👾 @martinmacchia1564
👾 @ulisesmoralez4160
👾 @_Oscar_
👾 @jedi-or-sith2728
👾 @justinhual1290
--
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
Nesta página do site você pode assistir ao vídeo on-line TypeScript in Express – TypeScript Tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário freeCodeCamp.org 24 Julho 2026, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 185,929 vezes e gostou 926 espectadores. Boa visualização!