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, ...