Firebase is a real-time application platform, optimized for building collaborative, asynchronous applications with mostly client-side code.
0
votes
0answers
22 views
Filtering two attributes using Firebase
I have a game data structure in Firebase that looks like this..
I have a view controller in my app that loads up all the games for a specific team. I have the following code which works.
...
1
vote
0answers
18 views
Authenticating voting
My aim is to prevent authenticated users from voting more than once. I am using angularfire2. The code gives me the expected behavior and I was wondering the better way of doing this. The ...
3
votes
0answers
30 views
Firebase many to many relationship structure
I'm trying to create a logical and scalable many to many relationship data structure in Firebase. A user can authenticate with Facebook/Google, upload 3 photos, and a video. Users can also "star" ...
7
votes
1answer
75 views
Reduce amount of calls to database for authentication
I'm currently having a bit of code, which I just know can be improved a lot. I am just blind to it. All of my code looks quite neat to me, except these parts... The login + authentication process is ...
6
votes
0answers
164 views
Function to conect to Firebase Rest API via Access VBA
This is the application for small school, which will store students' info in Firebase and also retrieve data from Firebase. I am using JSON Parser to parse the data and save the same in Access tables.
...
1
vote
0answers
476 views
Handling Firebase's asynchronous calls Android
I have written a helper class to manage callbacks from Firebase's asynchronous calls. Can this be implemented in a better way?
...
4
votes
0answers
1k views
React Native - Rendering different scenes based on application state
I am using react-native-router-flux to organize the routes for my application. Using Firebase, I am able to call ...
1
vote
1answer
469 views
Promise Chaining for a Firebase v3 Auth Subsystem - Password Based Users
Firebase v3 Offers Authentication via 3rd party oAuth providers, facebook, github,google, and twitter. They also offer password pased authentication.
Authenticated users have a firebase.User object ...
1
vote
2answers
63 views
Creating json objects with undefined properties
I have the following snippet code which, within a loop, creates a JavaScript object where some of the properties maybe undefined:
...
3
votes
1answer
449 views
Logging in to Android application using Firebase
I currently have an app that uses Firebase for logging users in and I would like to know if I can make this code any better. I currently have 4 files:
auth/models/User.java
auth/BaseActivity....
2
votes
1answer
244 views
User registration factory for AngularJS + Firebase app
The goal for this code is to provide a semi-secure and privileged method of user registration via a secret code that is stored as a key in the Firebase database.
Subscribers to a mailing list were ...
2
votes
1answer
29 views
Async db repository
This is a simple repository where I want to save all the invoices of some queried users. I wanted this module to only expose a simple saveInvoices method and return ...
1
vote
0answers
45 views
Custom forum paginator for navigating through topics
I've made my own pagination service for my forum that I'm working on. I'm quite happy how it turned out but it feels a bit rough around the edges so I would like to know how I can shorten this code ...
2
votes
1answer
86 views
Angular user creation process
I've written 3 factories as a part of a sign up process in AngularJS and Firebase. After completing them, I thought to myself, would any of these fit better as a service instead of a factory? From my ...
2
votes
0answers
51 views
Online store for pies - Part 2: User authentication
I'm building an angular application using AngularJS and AngularFire. As this is the second part of this "series" it might be a good idea to also check out part 1 to gain an even better overview of the ...
6
votes
1answer
183 views
Online store for pies - Part 1: Create your account to buy delicious pies
I've got a goal and that goal is to become an Angular expert. So what better way of learning than to create an online store for pies, right? I've just finished the registration part and would like ...
6
votes
2answers
2k views
Realtime chat room
This is a really simple chat room that I've made using Firebase. Before I take it to the next level I want to know if there is anything I can improve right now. Since I'm new to Firebase I don't know ...
4
votes
1answer
230 views
(Swedish) Calendar of the year 2015 using Firebase
I've made a calendar for the year of 2015 using Firebase for real-time updates when something changes in it. I'm quite happy with it but I'm interested in getting some feedback on my Javascripting ...