3 ms·
Rails is perfectly well suited to serve an API. In fact I believe it was the first to define off the shelf RESTful conventions for an entire controller and all
by dasil003 10y ago
Rails is perfectly well suited to serve an API. In fact I believe it was the first to define off the shelf RESTful conventions for an entire controller and all verbs by default back ~2007 if I recall.
http://edgeguides.rubyonrails.org/api_app.html http://edgeguides.rubyonrails.org/api_app.html
- AtheistOfFail 10y agoActually, Rails 5 implements an API mode so you can spin up a new app with only API-level conventions that runs on less memory and just serves JSON. You can add on the standard Postgres DB and Boom! "You just made Rails great again"
- dasil003 10y agoRight, that's what I linked to ;)
- AtheistOfFail 10y agoOh, I didn't click that... Derp!