Back

How can I get user from server side?

  • 0
  • Cloud
Nikky
16 Apr, 2024, 08:06

How can I get loggedin account & query my user collection from server side? I use nextjs 14, node-appwrite, cloud. Attached the server action code below. I call this from home page rendered server side.

TL;DR
Developer is seeking guidance on retrieving logged in user information and querying the user collection from the server side. They are using Next.js 14, Node-Appwrite, and Cloud. They have provided their server action code.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more