Back-End Setup

Learn how to install express and other libraries required for our back-end setup, on your local machine!

As already mentioned, for the back-end part of the installation Node.js and Express will be used.

While Node.js is the engine that got everything running, Express is the framework which we use to write Node.js applications with, easily. It is used to write our Web API, as well as for communication with the MongoDB server. For communication with the MongoDB server, there is a library especially crafted for it – Mongoose.

Installing Express

The same way that Angular-CLI was used to create a folder structure for the front-end, we will use the Express Generator to scaffold the back-end. Once again, we will reach to npm:

npm install -g express-generator

Get hands-on with 1200+ tech skills courses.