karang

karang

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:

https://github.com/dunyakirkali/firestore.ex

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!!

First Post!

karang

karang

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

Most Liked

TylerSustare

TylerSustare

Hey all :waving_hand: 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 · GitHub that uses goth and google_api_firestore hex packages to interract with firestore successfully.

Where Next?

Popular in Questions Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New

Other popular topics Top

grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 54092 488
New
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New

We're in Beta

About us Mission Statement