Skip to content

Instantly share code, notes, and snippets.

@neelmanishankar
neelmanishankar / deploy-mern.md
Created December 14, 2021 17:16 — forked from rmiyazaki6499/deploy-mern.md
Deploying a Production ready React-Express app on AWS EC2 with CI/CD

Deploying a Production ready React-Express app on AWS

In this tutorial, I will be going over to how to deploy a Javascript app from start to finish using AWS and EC2. Recently, my partner Tu and I launched our app AlgoAcademy (a resource for reviewing algorithms and data structures) and we wanted to share with other developers some of the lessons we learned along the way.

Following this tutorial, you will have an application that has:

  • A React frontend, Express backend
  • An AWS EC2 server configured to host your application
  • SSL-certification with Certbot
  • A custom domain name
class Thing
def initialize (aName, aDescription)
@name = aName
@description = aDescription
end
def get_name
return @name
end
def set_name (aName)
@name = aName