r/github • • 22d 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

View all comments

1

u/ram-popular 21d 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.