This is a tutorial about making a REST API using Express and either MySQL or PostgreSQL. There is also a short exmple about using MongoDB.
Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser.
Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
A RESTful API is an architectural style for an application program interface (API) that uses HTTP requests to access and use data. That data can be used to GET, PUT, POST and DELETE data types, which refers to the reading, updating, creating and deleting of operations concerning resources.
REST API is a backend application. In programming, the terms "backend" and "frontend" refer to the different parts of a software application that handle specific responsibilities.
Frontend:
Backend:
In web development the programming languages can be classified to client-side languages or server-side languages. The terminology describes where te code is executed: in the client or in the server.
JavaScript used to be totally client-side language executed in browsers. But with Node.js it can be executed in the server.