O'Reilly logo

Rails 5 Revealed by Alan Bradburne

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Alan Bradburne 2016

Alan Bradburne, Rails 5 Revealed, 10.1007/978-1-4842-1709-2_5

5. Rails API

Alan Bradburne

(1)Reading, UK

While Rails is generally used to develop web-based applications, the increasing requirement to build API-only services has resulted in many people using Rails to build apps that have no web front end at all.

While this is certainly possible, it means that there are often a lot of unused gems and middleware overhead, slowing it down and getting in the way.

In order to make API application development simpler, Rails 5 has merged the Rails API project into Rails.

Using Rails for API Servers

Back in 2004 when Rails was first released to the world, the connected world was a very different place.

Very few web sites offered API access, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required