
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
- Cannot access my Appwrite database on th...
Hello guys, I am currently developing a web app and using appwrite for authentication, database, storage and messaging. It was working well but since yesterday...
- Nuxt Middleware Support
So I'm trying to protect some routes so that the user is redirected back to the login screen should they not have an active session. However, I'm stuck in a lo...
- 400Invalid query: Attribute not found in...
Hello When I open the database I am not able to reach anything just seeing an error message. Can you help me please?
