Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
211 views

Firebase Auth system with Rails API design

TLDR; How can I utilize Firebase Auth in my iOS application and sync the Firebase ID with a user in my API? I am in the process of designing an iOS application that reads from a Rails API. When first ...
Trenton's user avatar
  • 17
1 vote
1 answer
234 views

Best way to renew OAuth token before expiry

I am building a simple application built in Rails that allows the client to connect to a third party api to sync customer data. The customer inputs their username and password and my application ...
Joe Ainsworth's user avatar
0 votes
0 answers
250 views

Call external API during validation (Rails)

I need to validate a value with data from an external API. The easiest way would be to add a validation rule in my model, call the external API and do my check. But it feels very dirty to call an API ...
Nghi93's user avatar
  • 1
0 votes
1 answer
53 views

Fastest way to return a list of records depending on many many-to-many relationships

I'm developing an API in Rails and the following requirement is established (it's really more complicated, but I want put a simple example): There are users and messages. users have a gender (...
OiciTrap's user avatar
  • 729
-3 votes
1 answer
1k views

Web framework to consume external API [closed]

I'm currently joining a project in which there's a core REST API already developed which is used for a mobile app. The next step will be to build a web app which should also consume the API. My doubt ...
Juan Fuentes's user avatar
4 votes
1 answer
2k views

Best way to build a JSON API coupled with HTML views in a Rails project

I've got a Rails eCommerce project communicating with an iOS app. The iOS app receives JSON data from the Rails back-end, but there's also HTML rendering when a user comes to the project from his ...
Laurent's user avatar
  • 141
1 vote
1 answer
218 views

How to scrub Twitter and Facebook posts for many users

I'm making an Rails app that in theory should scrub new posts from the users facebook and twitter accounts and put them in a timeline for an analyst to analyze and determine if they are good or bad ...
Agush's user avatar
  • 433
0 votes
1 answer
786 views

Is api user authentication with oauth possible for both email/pw and 3rd party services

I have an api only application (rails-api) and I'm looking to authorize a user on both email/password or 3rd party services like facebook or twitter etc, so I know I will have to use Oauth at some ...
cbron's user avatar
  • 103
0 votes
1 answer
249 views

Rails-API gem, Is there such thing as an API only application?

I've built a few API's using the complete rails stack. In each project there have been multiple uses for rails core features. Each of the API has had management screens for monitoring usage, managing ...
OpenCoderX's user avatar
2 votes
2 answers
2k views

How do I read API documentation? [closed]

I've been trying to read through the RoR API to try to learn things that the tutorial missed, and I haven't been able to follow it at all. The only time I've read documentation was when I needed to ...
Orcris's user avatar
  • 201