devlog #5 of The Void
She star on my dance till I say hello everyone new devlog woo.
Ok, so the flow of how the void works has now been updated! To keep things short, I will assume that the other devlog has already been read, and I will just add on on the new stuff. But, for a really basic tl;dr:
When you press enter, the void opens the HCA login website, where you… well login. This is to both keep track of the users in the users table of data, and to know if you are a certified Stardancer™ or not. Then, it’ll promptly take you to the callback site, where it uses a code that the HCA gives in order to identify you. If succesful, the page will say “the void recognizes you” as per the video, and you will log into the void. If not, it will say “something went wrong. the void rejects you.” Simple enough.
Now onto the new stuff that was added:
When the callback website successfully registers your HCA code, it will take you back to The Void, now new stuff appears. You are able to choose your name, 6 characters only, and your thought color, which will be the color that your… well thoughts are in. Really self explanatory. All that info is saved in the Supabase table of users, just for a more simpler way of being able to save all the data.
Now, whenever you enter the main site, it’ll check if you are already logged in. If you are, you will automatically be thrown into the main page of the void (which is the one that just says phase 5 coming soon for now).
So, to summarize the technical side of stuff about what everything is doing so far:
The Void itself runs on HTML, CSS and JS.
Supabase is used for the database.
Vercel is used for its serverless functions for the auth backend.
And finally, HCA (Hack Club Auth) api is used for the login.
And that’s all folks. Honestly, all of this was more easily said than done. I spent like at least 40 minutes trying to fix the connection issues between the sites. But, in the end, it worked as intended, and that’s the best I can hope for.
As of moving forward, the next phase will definitely be the hardest one, which is to make the entire thought and delivery system as well as finding a way of testing it with another person. So, yeah thats cool. If anyone is reading to the bottom of this, and is cool with testing, stay updated for the next devlog where I think I will finally be able to post and ship the beta of The Void!
Sleep tight everyone, don’t let the bed bugs bite.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.