Overview
These are my notes from Jem Young's Full Stack for Front-End Engineers, v2 on Frontend Masters. They specifically cover what he did to stand-up a server. My intention in taking, editing, and publishing these notes is to create a loose guide for myself on how to deploy a server-side Node application from a Linux environment.
Jem's general steps included:
- Buying and configuring a droplet from Digital Ocean
- Creating an SSH key pair (for authenticating to your server)
- Buying a domain and configuring your DNS to point to your server
- Creating a new user and disabling the root user
- Installing Nginx
- Installing Node.js
- Creating a directory to hold your application
- Configuring Nginx to use a custom port and direct traffic to your application
- Configuring GitHub so you can work locally and deploy remotely
- Installing a process manager
- Using a firewall and unattended upgrades for security
- Configuring HTTPS with Certbot