In this video, I will show how to deploy a React application on an EC2 Instance using Nginx. React applications are SPAs hence Nginx is a good option to serve static files. I will also show how to install Nginx and NodeJS on the EC2 Instance.
Once we have installed all the required modules, the next step is to clone the project, run the build script and start the Nginx Server.
Code: https://github.com/enricop89/react-ap...
00:00 Introduction
00:42 Create React App
01:07 Create React Routes
03:19 Create EC2 Instance
05:01 Install Nginx and NodeJS on the EC2 Instance
06:42 Clone the Repo and build the Project
09:15 Nginx Config explanation
12:53 Conclusion
If you want to learn more about DynamoDB and AWS Services, make sure to
subscribe to the channel:
Youtube 🎥 - / @enricoportolan
🌎 Find me here:
Twitter - / enricop89
On this page of the site you can watch the video online Deploy a React App using Nginx with a duration of hours minute second in good quality, which was uploaded by the user Enrico Portolan 16 June 2021, share the link with friends and acquaintances, this video has already been watched 79,810 times on youtube and it was liked by 906 viewers. Enjoy your viewing!