Deploy a React App using Nginx

Поделиться
HTML-код
  • Опубликовано: 31 июл 2024
  • 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: 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:
    RUclips 🎥 - / @enricoportolan
    🌎 Find me here:
    Twitter - / enricop89
  • НаукаНаука

Комментарии • 83