create-react-app with a Node server on Heroku
This is simple template for react application with node js server -- im trying to add every thing is needed for develping react website in this repo
# build we used build pack to config this file but we change defult config to access to css file as modules examples are available in codeDemo
You can add this project to Heroku server just by setting deployment method in heroku if there is any problem let me know
Heroku.comFor Local Development
Run the API Server [NodeJs]
In a terminal:
# Initial setup
npm install
# Start the server
npm start
Run the React UI
The React app is configured to proxy backend requests to the local Node server. (See "proxy"
config)
In a separate terminal from the API server, start the UI:
# Always change directory, first
cd react-ui/
# Initial setup
npm install
# Start the server
npm start