Hello so im new to appwrite and newer to qwik. Ive spent the last 4 years developing in flutter and firebase. Decided I wanted to get away from firebase and to lean a new language at the same time. I choose appwrite because it seemed like its a lot easier and i love the open-ness. All this being said I just spent the last 4 hours trying to debug why i couldn't create a new user. WOW yeah turns out you do infact need to make sure when you pass the props they are in this order[ ID.unique(),user.email, user.password, user.name ]... yeah thats kina annoying but ok. I then got the log in button working... So progress. Long Intro sorry, just wanted to set my mind set. This leads me to my current issue. How do i detect if the user is logged in or not? Like i have a "side menu" and for example i want it to show a log in button if the user is not logged in but maybe a log out and a profiles button if they logged in? I looked this up online and I've seen several different answers but these all seem to be for React type website and Qwik is not react based. I looked it up on the YouTube but got SSR auth which maybe be it but I'm having a hard time implementing this.
NOTE: The Sign in form is shown with 3 images that file is 114 lines long.
Recommended threads
- Cloud function deployment failures
When I run appwrite push functions, select the function I want to deploy, confirm with a YES, is starts deploying but goes into error. I need to repeat the ste...
- Failed to create function
Hey everyone 👋 I'm having an issue creating Functions on Appwrite Cloud and I'm not sure if it's a platform bug or something wrong in my project. When I try t...
- Function deployment failed: Unable to re...
Hi Appwrite team, I have been experiencing persistent errors when i attempt to push my appwrite functions. The logs on the deployment detail page on the console...