concept api in category angular

This is an excerpt from Manning's book Getting MEAN with Mongo, Express, Angular, and Node.js 2ED.
Building an API to interface with your data is a bit of a given and the base point of the architecture. The more interesting question is how you architect the application itself.
https://developers.google.com/maps/documentation/javascript/ get-api-key?utm_source=geoblog&utm_medium=social&utm_campaign= 2016-geo-na-website-gmedia-blogs-us-blogPost&utm_content=TBC
In this chapter, we’ll discuss how to call an API from within Express and how to deal with the responses. You’ll make calls to the API to read from the database and write to the database. Along the way, we’ll look at handling errors, processing data, and creating reusable code by separating concerns. Toward the end, we’ll cover the various layers of the architecture to which you can add validation and why these different layers are useful.
Start by looking at how to call an API from an Express application.