a "Geometry Dash"-themed cinema web application! book screenings online and write reviews about your viewing experiences
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
The most significant update today is just adding database seeding so development is faster. The 3 hours of logged time comes from me over-optimizing my authentication flow, and coming across a stupidly easy-to-solve problem that made me thought I was crazy.
It turns out all I needed to make the navbar stop flickering is to instantiate just ONE user ref for all uses... at least now I can finally work on some new functionality, maybe some CRUD next? 😸
Implementing the auth system was kinda gruesome, because I was not familiar with Nuxt's request lifecycle at all :( I got it done after lots of trial and error, but it would've been much more easier if I had a little experience with the framework.
In the end, I settled with a custom useAuth() hook that allowed middlewares and <script>'s could read/write to the AuthUser
Now, I have setup my postgres database with Drizzle ORM for my queries and migrations! The first API route for user authentication has been created, which taught me a lot about Nuxt's project structure; I plan to implement my own auth system with the help of Lucia Auth (great for resources and learning)
First devlog :) I've collected 16 epic movies (long youtube videos) for the cinema app and created some covers for them with Canva; For this project, I chose Nuxt as my framework - this devlog also includes the setup of gdview project folder itself, here's the commit message: config: app layout/routing, tailwindcss, dependencies