Back

How can i use Appwrite with my own MongoDB database?

  • 0
  • Databases
  • Web
  • Storage
coder21
19 Jan, 2024, 07:40

In my web application, i want to store the auth data after logging in from google and facebook into my own mongodb database

TL;DR
Question: How can I use Appwrite with my own MongoDB database? Answer: Appwrite does not have a REST API to directly communicate with your MongoDB database. However, you can use Appwrite's functions feature to communicate and store data into your MongoDB. A possible use case could be storing authentication data from Google and Facebook login into your own MongoDB database.
kamal.panara
19 Jan, 2024, 07:49

You can’t directly connect your own MongoDB with Appwrite.

But You can use functions to communicate and store the data into your MongoDB.

coder21
19 Jan, 2024, 07:54

could you provide some examples?

kamal.panara
19 Jan, 2024, 07:55

You can learn about functions here https://appwrite.io/docs/products/functions

kamal.panara
19 Jan, 2024, 07:57

Do you have REST API to communicate with your MongoDB?

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