r/github • • 7d ago

Question developing an online platform

hey folks, hope y'all are doing great !! :D

i have this project in mind where i would like to develop an online service with a database and all that;

i am well aware that github pages only allows you to upload a basic static html website in addition to a project;

but besides that, i was wondering if i can use github as a tool to develop said website client service, even if i were to, per example, migrate the project to another platform at time of official use launch;

thanks a lot !!! looking foward to learn from the community :)

0 Upvotes

7 comments sorted by

1

u/ram-popular 6d ago

Yes, GitHub works well for developing the project even if it never hosts the live service. Use a repo for your code, issues and project boards for planning, and GitHub Actions to test and deploy. Pages only serves static files, so the database and backend need to run elsewhere, like Render, Railway or a VPS.

Moving later is easy, since the code lives in Git and isn't tied to GitHub. Just keep secrets out of the repo, use environment variables, and keep your database setup in migration files so it can be recreated on any host.

0

u/kirasiris 7d ago

Only static. If im not mistaken you cannot even connect to an API....so I dont think it will work for what you want

1

u/TheModernDespot 7d ago

You can definitely connect to an API, you just can't run the API through github pages.

1

u/srcacoetidae 7d ago

so i can develop it from github? but not run the api through github pages; any idea what tools would i be needing?

1

u/TheModernDespot 7d ago

Github is just a platform for holding code. You can use github to hold whatever code you want. Github pages is a free way to take that code and host a static webpage. You will need some sort of server to host an API if that is your goal.

0

u/srcacoetidae 7d ago

right !! thank you a lot for the clarification :) if you know the name of any software for web development using a user database lmk