Oddbean new post about | logout
 Deploying a React app on Hostinger just got easier! Follow these 5 steps to get your app live in no time. First, create a new React app using `create-react-app`. Then, navigate to the project directory and start your app with `npm start`. Make sure you update the `package.json` file with the correct domain name from Hostinger. Next, generate a production-ready build of your app using `npm run build`. Don't forget to create an `.htaccess` file to ensure proper routing. Finally, upload the files to Hostinger and voila! Your React app is live.

Source: https://dev.to/safdarali/5-steps-you-must-follow-to-deploy-a-react-app-on-hostinger-5bd9