Setting up and deploying a web application using React and Apache
In this video, I set up and deploy a web server using React and make it viewable to the worldwide web by sending traffic to a proxy host that listens to the port that I run the react app on.
by Jacob Neubaum
linux http server
You don't exactly make it clear how you're using apache2 as your server; rather it seems you're just putting your project in some arbitrary directory and running node. Thanks for the video though, I found it somewhat useful.
Jacob, that was a waste of time. Two points:
1. One should always your build files into production, using npm run build
2. One should never use npm start to deploy the application. Actually, you are not even deploying your projejct on Apache, you are just starting your project on server with Apache routing the request to it. Even serve -s build is not production grade solutions.
Hi, is possible to run react app(as a sub domain) in apache web server without nodejs.
Myproj using axios, react-routers.
Kindly let me know, thankz
Hi Jacob, why ServerAlias in my server not work? can you help me fixed it?
The video was great but can you make the same video where you will be having a backend in node js and make some API calls for example a simple login page. That will be very helpful.
20 min for about 3 min of useful content related to the title