DEV Community

Dídac
Dídac

Posted on

Is a bad idea to use Github Pages for a production ready app?

I'm trying to not spend money on hosting for a react app and I found this package:

  • gh-pages: Publish files to a gh-pages branch on GitHub (or any other branch anywhere else)

By adding this script you can build and push the code directly to gh-pages and publish your app in seconds:

"scripts": {
  "deploy": "gh-pages -d build"
}
Enter fullscreen mode Exit fullscreen mode

Do you think is a bad idea to use Github pages as production?

Top comments (3)

Collapse
 
eldlabs profile image
Eldlabs

It also depends on where in "production" phase you are with your app. Is this something that is close to an MVP or some kind of start up product that you are testing and have lett than few hundreds of users / customers, I would say it is ok. But if this is some kind of enterprise product you are building I would suggest to think twice.

Collapse
 
airtoxin profile image
Ryoji Ishii

I'm using app.netlify.com/ to hosting react apps.

Collapse
 
smontiel profile image
Salvador Montiel

I think that just to test is fine but for production do not.