Find the perfect coding resourcesLearn more

Learn HTTP Servers in TypeScript

Boot.devBoot.dev
Recommended
Meet Your Instructor
Lane Wagner avatar

Lane Wagner

Instructor

Lane is a back-end engineer and the lead instructor of Boot.dev. He has taught over one million students worldwide, on Boot.dev, FreeCodeCamp, YouTube and the Backend Banter podcast. Lane worked as a backend engineer writing Go, Python and TypeScript, then moved into engineering management and a couple of years later left to build Boot.dev full-time.

24 hours

Completion

Certificate included

Format

Interactive coding

Freemium

What You'll Learn

Build web servers using TypeScript and Express.js

Implement HTTP routing and create a custom router

Handle JSON data parsing and response in TypeScript servers

Develop a PostgreSQL database integration for data storage

Create a JWT-based authentication system from scratch

Overview

Learn all about the basics of building web servers in TypeScript. We'll keep the stack lean and simple, using primarily Express.js. Once you've completed this course, you'll feel confident building your own web servers, whether you're serving static files or a full-on RESTful JSON API with authentication and authorization.

Table of Contents
1
Servers

We'll cover the basics of web servers, and why TypeScript is such a great language for building web servers

2
Routing

We'll cover the basics of HTTP routing, and how to build a router using Express

3
Architecture

We'll talk about some different web architectures, and how to choose the right one for your project

4
JSON

Learn about how to parse and send JSON data from a TypeScript server

5
Error Handling

Learn about how to effectively handle errors in a TypeScript server

6
Storage

We'll add a PostgreSQL database and talk about data storage and database migrations

7
Authentication

We'll build an authentication system using JWTs from scratch, and compare JWTs to other authentication methods

8
Authorization

Learn about how authorization differs from authentication, and how to implement it in your application

9
Webhooks

Webhooks are a special kind of HTTP handler that you'll use often in modern web applications. Learn how to use them here

10
Documentation

Learn about documentation, why it's important, and learn about some tools that can help you write good documentation

Share Your Experience

Sign in to leave a review and help others

No reviews yet. Be the first to review!