-
Understanding React deployment
https://medium.com/@baphemot/understanding-react-deployment-5a717d4378fd
An excellent overview of the basic steps needed to deploy a React app, including solutions for common problems such as routing producing 404s and changes not showing up properly. -
Surge vs Github Pages: How to deploy a create-react-app project
https://medium.freecodecamp.com/surge-vs-github-pages-deploying-a-create-react-app-project-c0ecbf317089
Shows how to deploy a CRA-based app onto the Surge.sh and Github Pages static hosting sites -
Fullstack React: Deploying a React App
https://www.fullstackreact.com/articles/deploying-a-react-app-to-s3/
https://www.fullstackreact.com/articles/deploying-a-react-app-with-a-server/
A pair of articles that show how to deploy a React app's static assets onto Amazon S3, and a backend API server onto Heroku -
Deploying React + Redux to Heroku
http://www.thegreatcodeadventure.com/deploying-react-redux-to-heroku/
Covers configuring Webpack for production, setting up build tasks and environment variables, configuring an Express server, and pushing the app to Heroku -
Create-React-App with an Express Backend
https://daveceddia.com/create-react-app-express-backend/
A quick overview showing how to configure Create-React-App to proxy API requests to a separate server (example uses Express, but applies to any other app server). -
Create-React-App with Express in Production
https://daveceddia.com/create-react-app-express-production/
Shows how to set up an React app with an Express server that serves as both API server and static file server, and deploy it to Heroku. -
From React to an Electron app ready for production
https://medium.com/@kitze/%EF%B8%8F-from-react-to-an-electron-app-ready-for-production-a0468ecb1da3
Walks through the basics of configuring a Create-React-App-based Electron app and building it for production. -
React with Any Backend
http://andrewhfarmer.com/react-with-any-backend/
Some short discussion and suggestions for project structure and deployment steps when building a React app that talks to a non-Javascript backend server. -
Building a Full-Stack App with Serverless and React
http://serverless-stack.com/
A large, well-written, in-depth tutorial that covers all aspects of building a React app with an AWS "serverless" backend: creating an AWS account, setting up the serverless backend and API, building a React app that talks to the API, and deploying the React app on AWS. -
Using React in Multiple Environments
https://daveceddia.com/multiple-environments-with-react/
Discusses strategies for handling deployments to dev/staging/prod-type environments, including configuration of API endpoints and feature flags.