All Questions
Tagged with ruby-on-rails api-design
6 questions
0
votes
0
answers
55
views
Good practices: using member routes or filter on search scopes?
I want to know which practice is more convenient having the following example, (my app is a Rails app but this can be applied on any framework)
I am trying to create an endpoint which contains author ...
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 (...
0
votes
1
answer
2k
views
Best way to design a database interface [duplicate]
This is my situation
I have a website, mobile client and desktop client.
They can all pretty much do the same operations (website might be able to do more now but in the future they might have the ...
6
votes
2
answers
1k
views
Is a data service API a good idea?
We currently have a monolithic Rails application that is really three separate applications that make use of the same data. In trying to figure out how to properly compartmentalize and break the mono-...
25
votes
4
answers
3k
views
When creating an api should I stick with small functions and many calls, or a few calls and large functions?
I have a rails platform that I maintain. It has a lot of different web applications built on top of it. However now a client is asking for an API so that they can keep users on their site, but take ...
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 ...