In a way, this course is where everything you've learned so far on the Boot.dev back-end track comes together. Building HTTP servers is the bread-and-butter of a back-end developer's day-to-day work.
This course assumes you already have a solid understanding of TypeScript.
A web server is just a computer that serves data over a network, typically the Internet. Servers run software that listens for incoming requests from clients. When a request is received, the server responds with the requested data.
Any server worth its salt can handle many requests at the same time. In TypeScript, we use asynchronous functions and the event loop to handle many requests concurrently. Let's start by practicing with asynchronous functions.
In this course, we'll be working on a product called "Chirpy". Chirpy is a social network similar to Twitter.
One of Chirpy's servers is processing requests unbelievably slowly. It's processing every request using async/await
. Wrap all the requests in a single promise using Promise.all
to fix the bug.
Focus Editor
Alt+Shift+]
Next Tab
Alt+Shift+[
Login to Submit
Login to Run
Login to view solution