Deploy a React App with ExpressJS and Nginx



Deploy a React App with ExpressJS and Nginx

Deploy a React App with ExpressJS and Nginx

In this video, I will show you how to deploy a React App with ExpressJs as the backend service. ExpressJS will serve the React App using express.static middleware function. We will first deploy the service on the root path and then on a subpath and we will go through all the changes needed both on the server and client-side (React Application).

I will show in detail all the Nginx config required.

00:00 Introduction
00:25 Project Overview
04:13 Nginx Configuration
06:58 Deploy App in a subpath
10:58 Nginx Configuration for React Sub Path
13:28 Testin App and Conclusion

Github Project: https://github.com/enricop89/react-app-expressjs-nginx/tree/express-js-react-app

Make sure to subscribe to the channel:

Youtube 🎥 – https://www.youtube.com/channel/UCrgmzG2o4xlBYzm7OB7qZFA

🌎 Find me here:
Twitter – https://twitter.com/enricop89