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
- Rate Limit of project
AppwriteException: Rate limit for the current endpoint has been exceeded. Please try again after some time. So , how much time I have to wait and why does it h...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...