Dongfeng Gu
Resources for building a rails api-only application
- 1 minUseful resources
Tutorials
- Rails official tutorial : using rails for API-only Applications
- Transfer the ruby on rails project to API-Only project : How to Make a Rails 5 App API-Only
- Building the Perfect Rails 5 API Only App
Gems
gem | explanation |
---|---|
rake-cors | The cross-origin HTTP request, allows web applications to make cross domain AJAX calls without using workarounds such as JSONP |
apipie-rails | Apipie-rails is a DSL and Rails engine for documenting your RESTful API |
factory_girl_rails | factory_girl is a fixtures replacement with a straightforward definition syntax, support for multiple build strategies (saved instances, unsaved instances, attribute hashes, and stubbed objects), and support for multiple factories for the same class (user, admin_user, and so on), including factory inheritance. |
rails-erd | Generate a diagram based on your application’s Active Record models |
active_model_serializers | ActiveModelSerializers brings convention over configuration to your JSON generation. |