Questions tagged [rest-firebase]

Ruby Firebase REST API client built on top of rest-core.

Build mobile and web apps in minutes using any Firebase URL as a REST endpoint. Save time. Delight your users.

https://www.firebase.com/docs/rest/api/

19 questions
11
votes
3 answers

Where does firebase save it's simple login users?

I am currently using firebase to make an ionic app. I am using firebase simple login for social auth (facebook, twitter, email & password). The auth works perfectly, it $broadcasts the authed user. However it doesn't seem to create a user in the…
11
votes
3 answers

Export firebase

I was wondering if it is possible to export firebase data (perhaps as a JSON object) in frequent "cycles". The main reason I'm asking this is because I would like to capture the data at specific points of time in order to perform a range of…
Alex Loiz
  • 143
  • 1
  • 1
  • 7
8
votes
0 answers

Is there a way to Pointer Reference another object in firebase, instead of storing data twice.?

I have a firebase DB with branches for things like: /Customers/{CustomerID}/{CustomerName} {CustomerAddress} /Contacts/{CustomerID}/{contactID}/{ContactName} {contactPhone} …
5
votes
0 answers

Firebase one to one chat

I am building a simple chat application in android with Firebase as backend. ref3.addValueEventListener(new ValueEventListener() { @Override public void onDataChange(DataSnapshot snapshot) { Map
3
votes
0 answers

How to close EventSource connection on Firebase server using .NET HttpClient with Firebase REST Streaming API

I am using the .NET HttpClient to implement the Firebase Streaming Rest API, which itself is supporting the EventSource/Server-Sent Events protocol. Documentation for this API is here: https://www.firebase.com/docs/rest/api/#section-streaming My…
J.T. Taylor
  • 4,147
  • 1
  • 23
  • 23
3
votes
2 answers

Reading Firebase data is returning client error despite rule being "true"

I am trying to figure out how to do a simple CRUD with angular + firebase. I started with a read operation. I have the following data structure: Given that, I created the following rules: I have a working factory as follows: factory('wordsFactory',…
Tsundoku
  • 9,104
  • 29
  • 93
  • 127
2
votes
1 answer

Firebase post an array of data with auto generated ID using restful api

Firebase REST API doc has an example of posting a list of data: curl -X POST -d '{ "author": "alanisawesome", "title": "The Turing Machine" }' 'https://docs-examples.firebaseio.com/rest/saving-data/fireblog/posts.json' the keys are provided in…
Quan Ding
  • 727
  • 1
  • 10
  • 21
2
votes
1 answer

Firebase: Delete a node

Need to delete entry trainName I tried the below code which didnt work for me. var usersRef = new Firebase('https://hosurcabapp.firebaseio.com').child('user');delee var clientInfo = $firebase(usersRef); $scope.clientInfo =…
Kiran Kumar
  • 1,610
  • 3
  • 16
  • 22
2
votes
1 answer

Firebase Nested Query

I am new to firebase and have read through the docs, but can't seem to find a away to get a list of all Ladders with populated User data. I don't really want to duplicate the user data in every ladder they are a member of. Here is my data…
2
votes
1 answer

firebase rules not working

I'm following the Firebase security tutorial. I have this simple structure: - requests - request_id: {...} - request_id: {...} ... And my security rules: { "rules": { "requests": { ".indexOn":…
1
vote
2 answers

Firebase .validate not working as expected with $location

I have the following Firebase rules, and I'm having trouble getting validation to work as expected: { "rules": { ".read": true, ".write": true, "specialItems": { "$itemid": { ".validate": "root.child('items/' +…
hawkett
  • 3,053
  • 5
  • 29
  • 39
1
vote
2 answers

Firebase Authenticate Simple Login

TL;DR : Is there any way to use the auth=CREDENTIALS with the Simple Login (Email/Password) in Firebase? I am trying to connect my C# Application's users to my Firebase. I could set up pretty much all calls using my Secret Token, but now I need to…
1
vote
1 answer

Firebase indexing on huge lists (100000+ items)

I'm migrating my relational database to Firebase. In general, I have a planner for workers. They can add an item ('appointment') to their schedule. I've read the FireBase documentation, and found a section on indexing. So I've created following…
Flock Dawson
  • 1,842
  • 4
  • 22
  • 34
0
votes
0 answers

How to implemet whatsapp type phone number authorization in Firebase

Following is what I am trying to achieve: User installs the app On its first launch, user will be asked to specify phone number and Name Phone number gets verified by invoking REST API of OTP service providers Once 2 Factor Authentication gets…
MohitD
  • 1
  • 1
  • 4
0
votes
2 answers

Firebase: How to improve this data structure?

I'm building a simple AngularJS app to store 2 different things under 1 thing using Firebase. Say, male and female student groups under students. This is my current Firebase data structure: And this is my code for Add function: $scope.add =…
Zulhilmi Zainudin
  • 9,017
  • 12
  • 62
  • 98
1
2