DEV Community


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 (5)

eldlabs profile image

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.

airtoxin profile image
Ryoji Ishii

I'm using to hosting react apps.

smontiel profile image
Salvador Montiel

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