What is Node
How to Install Node
Building a Hello World App
Node Modules and Node Package Manager
File System in Node
Creating Web Server Using Express
Node and Databases
Creating a DigitalOcean Server
Let’s learn how to deploy our Node application. I deploy all my projects on DigitalOcean, in fact, this site is also hosted on DigitalOcean Server.
I highly recommend it to use. If you have never tried DigitalOcean, give it a shot with $10 discount for a first month.
Click here to go to DigitalOcean droplet creation screen.
Choose a $5 plan and create the droplet.
After creating droplet wait for some time, DigitalOcean will send you an email containing the credentials.
Login to your droplet using the following command.
Provide the password given in the email and you are good to go. Once you are logged in, update the kernel using the following command.
Install the latest Node on your Server.
Install PM2. More about it in the next lesson.
Our server is ready to host Node applications.