Accessing Firestore from Elixir

Hello I was wondering if some one could help me with accessing firestore from Elixir. So far the team here has only had to use the firestore data from javascript which has a library and is very straightforward. Elixir seems to have some solutions like the following:

But the docs are not so great and I am not so familiar with firestore. I have been provided with an api key as well as a secret key. I was hoping some one could share how they set up one of the above libraries or maybe how to set up for REST api usage. Basically how do I plug in these keys so I can make queries to firestore. Thanks!!

1 Like

When I figure this out I promise to post the setup and contribute to the docs of any of the above projects.

my first guess would be using the Go-admin API per Port.

Hey all :wave: I actually ran into this myself recently and wanted to leave this breadcrumb if anyone else runs into this issue.

I created a small example repo here GitHub - TylerSustare/phx_fire that uses goth and google_api_firestore hex packages to interract with firestore successfully.

2 Likes