W
W
wolron2021-05-21 05:27:53
GitHub
wolron, 2021-05-21 05:27:53

Is it possible to create an open site with registration on github?

Is it possible to create an open site with registration on github?
For example, I'm thinking of making a simple html game, but I need
users to be able to register their account so that their progress in the game is not lost.
Now I figured out how easy it is to add something to github.
If anyone understands, then I just ask you to show some minimal code. So that you can copy it to github in order to check the account registration in the work.
Thank you all in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan Aksenov, 2021-05-21
@wolron

You can register with a form, but you need storage for progress - either use the player's computer memory (localStorage) or hosting. There is no such thing on Github.com, at least on the free version.
If the game is not big, then use localStorage, but the progress will be saved only in a certain browser, on a certain device. Otherwise, you need hosting.

H
HemulGM, 2021-05-21
@HemulGM

You can, if you have your own server (separate) with an API, because GitHub does not provide computing power other than disk space.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question