MongoDB,Express,Angular,and Node.js Fundamentals
上QQ阅读APP看书,第一时间看更新

Introduction

We began this book by describing the MEAN (MongoDB, Express, Angular, and Node) architecture. Specifically, we described its technology components in terms of their features/advantages, limitations, and scenarios in which they are best used. We ran Node server and implemented various Node features such as callbacks, event loops, event emitters, streams, buffers, and the filesystem.

This chapter will revolve around RESTful APIs, which are a major application of Node that leverage HTTP request types to indicate the desired action. We will also introduce you to the RESTful API and its designs concepts. Later in this chapter, we will talk about some operations on MongoDB Atlas such as creating clusters, schemas, and connecting the database to applications. This chapter will present the Express framework and its feature implementation on Node and MongoDB Atlas.

Finally, you'll implement Node, MongoDB Atlas, and Express together with the goal of developing a RESTful API to perform CRUD (Create, Read, Update, and Delete) operations. The chapter activity will wrap up the backend development for our sample application by creating a RESTful API for our nascent blogging application, which was developed in the first chapter.