Node.js, Express, and PostgreSQL is a powerful stack for the backend to offer the four basic operations of persistent storage: create, read, update, and delete (CRUD). In this chapter, we will describe the steps to create a RESTful web service that will be an application programming interface (API) based on Node.js, Express, and PostgreSQL and it will implement HTTP requests such as the GET, PUT, POST, and DELETE methods on data.
We will not only learn how to apply Node.js to create a JavaScript backend, but we will also develop the frontend application using JavaScript in the Model View Controller (MVC) approach by Angular. Angular is available worldwide and open source and it helps to extend HTML's syntax to clearly express application components. Being cross-browser compliant, Angular suitably handles JavaScript code...