Building a REST API With Node.js Express and MongoDB
In this post, we will build a RESTful API server from scratch with Node.js. We will use the Express library as the application server and MongoDB as the database. Architecture Overview As an example, we’ll build an inventory manager application. Using our API we will be able to create new items, list down their stock, and add or remove items from the stock when they’re purchased or replenished. Let’s look at the different components of this application:...