CS 347: Lecture 17 – Hello, Express
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.
Last time we introduced React and now we’re introducing Express, which is a bit of a rollercoaster. At the moment we treat them independently, but soon we will unite them to make a front-end client that communicates with a back-end database via a web service.
Here’s your TODO list:
See you next time.