Hosting a Full Stack Javascript Web App on Digital Ocean
Mar 10, 2022
This is a guide on how to host a fullstack javascript web app on a single Digital Ocean Droplet. The stack we are working with is NodeJS/ExpressJS on the back-end and ReactJS on the front-end.
Part 1 of the guide will focus on:
- Creating a Digital Ocean Droplet
- Connecting to the droplet via SSH.
Part 2 will involve:
- Pointing existing domain names to the Digital Ocean nameservers,
- Installing Nginx and configuring it to serve the domain names,
Part 3 will include:
- Deploying both the front-end and back-end
- Using Nginx as a reverse proxy to serve the Javascript apps on the domain names.