#community-help

Syncing Firestore Data and Typesense with NodeJS Cloud Function

TLDR Ramees asked how to sync Firestore and Typesense using Node.JS without a client library. Masahiro suggested using the Firebase Extension for Typesense, providing resources for reference. Jason clarified that Typesense does have a JS library usable in NodeJS.

Powered by Struct AI

1

1

1

7
30mo
Solved
Join the chat
Jul 22, 2021 (30 months ago)
Ramees
Photo of md5-ddfa968eca4266b70a36c83bdcdc7b94
Ramees
03:39 AM
Hi, I need to write Googole cloud function (in Node JS) in order to sync my Firestore data and Typesense. since there is no Client library for NodeJS, how can I do this. any idea is appreciated,
Masahiro
Photo of md5-366dff6b5f9b1a7d0f404fdc3261e573
Masahiro
03:40 AM
You can use Firebase Extensions for Typesense, made by  Jason
No code required 😄

1

03:41
Masahiro
03:41 AM
This is an official documentation of sync typesense and firestore https://firebase.google.com/docs/firestore/solutions/search?provider=typesense
03:42
Masahiro
03:42 AM
Ramees
Photo of md5-ddfa968eca4266b70a36c83bdcdc7b94
Ramees
03:43 AM
Thank you Masahiro, I will read it.

1

Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
04:20 AM
Ramees On a side note, may I know what gave you the impression that Typesense doesn't have a Node.js library?

We do have a JS library that works both in a browser and in Node, so I'm wondering if something in the docs is confusing.
Ramees
Photo of md5-ddfa968eca4266b70a36c83bdcdc7b94
Ramees
04:35 AM
oh, sorry I am not aware that I can use JS library on NodeJS. I am a newbie.

1