rails_api_base
rails_api_base copied to clipboard
Replace jbuilder
Check jb, it's considered faster than jbuilder
Another alternative faster and cleaner is fast_jsonapi which is based on serializers, so it's like having views + decorators in the same file.
Feel free to close this issue if none of these gems is a good replacement.
Moving this issue forward, what do you think about using json:api as the standard for our API responses?
Among several implementations, fast_jsonapi has been widely accepted by the community. Active Model Serializers is the rails' generic implementation of serializers, with the json:api adapter they provide support for this standard though it's time-benchmarked poorly.
Take into account that this change is not only about improving our response times, but also to provide a standard way to respond in our API endpoints.
What do you think setting up fast_jsonapi in this template?
the gem fast_jsonapi from Netflix is no longer maintained. The recommended active fork is here.