So you have built an awesome react application. How can you show it to people? A good thing about react is it generates static assets . So you can serve it just like any other static website.

Today we will see how we can serve our react app using nginx in ubuntu server. NGINX is a powerful tool which we can use with react to levarage its awesomeness.

Our target server can be any ubuntu server instance like EC2 Instance in AWS or a Droplet in Digital ocean or even your local machine.

There are tons of tutorial on how you can setup your own server in aws or digital ocean. I am not going over that . We will keep our focus on the setup of nginx with react.

#react #nginx #hosting #javascript #aws

Using NGINX to serve React Application (Static vs Proxy)
2.35 GEEK