How to Deploy A React App To A Shared Web Hosting (CPanel) - Explained

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • #React #ReactJS #JavaScript #100DaysOfCode
    For deploying a react app on a shared hosting you need to create a production build. Production build is a pack of all your react code and its dependencies. in most shared hosting we put our site/app inside a public_html directory so if we hit www.yourdomain.com it serves the code from public_html directory. Follow along with this short video to get your react project up and running in less than 4 minutes.
    - Run React App Build command: npm run build
    - Remember to zip the build folder in order to successfully upload the project to any hosting platform.
    - Congratulations, your is now up and running.
    Support the Channel:
    Host Your Application: hostinger.com?REFERRALCODE=1CASULEMARC11
    Items Used in This Channel:
    Surge Protector Power Strip: amzn.to/3Z7iWzQ
    Solatek Plugin Dusk to Dawn LED lights: amzn.to/3CfFl3Y
    Phone Tempered Glass: amzn.to/3VEq5UY
    Phone Case: amzn.to/3G5xI1f
    Maxpower Pet Brush: amzn.to/3GyOZRM
    Follow and Reach me at:
    Website: devmarkcodes.n...
    Github Repo: github.com/mka...
    Twitter: / elitebytecode
    Dev Community: dev.to/casulemarc

Komentáře • 50