Install All Dependencies Required to Run The Node Express Server Project
Step 1: Go to the project folder which we cloned from git.
cd path/to/folder
Step 2: Execute the following command to install all the dependencies to run the project.
npm install
Step 3: Use the following command to run the server. (This can be different based on the project settings. Check the scripts section in your package.json to get the start command). This will start the node server which will be listening for requests on some port number
npm start
Deploy Node-Express Server in AWS EC2 Instance
AWS or Amazon Web Services is a leading cloud services provider which gives access to a number of on-demand computational services, databases, storage space, etc.EC2 or Elastic Compute Cloud is an on-demand computing service on the AWS cloud platform. Under computing, it includes all the services a computing device can offer to you along with the flexibility of a virtual environment.