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

Chapter 2
Developing RESTful APIs to Perform CRUD Operations

Learning Objectives

By the end of this chapter, you will be able to:

  • Describe the design concept of a RESTful API
  • Create a MongoDB Atlas cluster with Node
  • Connect a Node application to the database with the MongoDB native driver and Mongoose
  • Create a database schema and a data model with Mongoose
  • Implement Express with Node
  • Develop a RESTful API

This chapter presents the fundamentals and practical elements that will enable you to develop and test a RESTful API.