teaching machines

CS 268: Lecture 17 – Hello, Express

April 16, 2020 by . Filed under lectures, spring-2020, webdev.

Dear students:

Many websites pull down data from web services, just as we did with the News API. But how are these web services made exactly? That’s what we explore in this lecture. We’ll use Express to create our own web service that responds to HTTP requests and serves back its data through JSON. We’ll also see more advanced uses of the fetch function and overcome an issue of multi-server resource sharing.

Here’s your TODO list:

See you next time.