© Vasan Subramanian 2017

Vasan Subramanian, Pro MERN Stack, 10.1007/978-1-4842-2653-7_5

5. Express REST APIs

Vasan Subramanian

(1)Bangalore, Karnataka, India

Now that you know how to deal with states and models in the UI, let’s spend some time integrating with the backend for the real data.

In this chapter, we’ll start storing in and fetching the data from the Node.js server instead of the hard-coded array of issues in the browser’s memory. The objective is to get used to interacting with the server via REST APIs. We will be modifying both front-end and back-end code because we’ll be implementing as well as using REST APIs . As for persistence, let’s leave it to the next chapter. For the moment, we’ll save the data in an in-memory data structure ...

Get Pro MERN Stack: Full Stack Web App Development with Mongo, Express, React, and Node now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.