Back

How do I connect document to a specific user, and display the info on the user profile page?

  • 1
  • Databases
  • Auth
  • Web
Jean007
16 May, 2024, 05:42

Hello, I am creating an online school app with ReactJS using Appwrite for authentication and database, and I want to connect my Application form to a specific user so that the information that the user provided on the application gets displayed on the specific user's profile. The information from the application form goes directly to the database, and I want to connect that specific document to the user to whom the information belongs.

TL;DR
To connect a document to a specific user in your ReactJS app with Appwrite, you need to use the userID from authentication to link the document to the user profile. This can be achieved by storing the userID along with the document in the database, allowing you to display the relevant info on the user's profile page.
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