An API is a software interface that enables two apps to communicate with one another. 60% of eBay transactions are via their API. We’ll be building a RESTful CRUD (Create, Retrieve, Update, Delete) API with Node.js, Express, and MongoDB. Create a new folder named nodejs-api and open it in any Code Editor.
Table of contents
Creating the applicationSetting up the webserverConnecting our application to MongoDBDefining the model in MongooseDefining the routesWriting the Controller functionsTesting APIs with postmanConclusion ⌛Sort: