Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

Creating an API with Rails 5

This course will help you be able to implement token authentication, support multiple response formats, and build complex responses, all while keeping your app future proof and performant with pagination, API versioning, and GraphQL support.

Intermediate
1h 51m
(19)

Created by Nitin Singh

Last Updated Oct 10, 2025

Course Thumbnail
  • Course

Creating an API with Rails 5

This course will help you be able to implement token authentication, support multiple response formats, and build complex responses, all while keeping your app future proof and performant with pagination, API versioning, and GraphQL support.

Intermediate
1h 51m
(19)

Created by Nitin Singh

Last Updated Oct 10, 2025

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Core Tech
What you'll learn

This course, Creating an API with Rails, will enable you to create elegant, predictable, and fast APIs for your app that are extensible and secure.

First, you will explore how to authenticate the APIs that your app is exposing. You will see both basic HTTP authentication and the JWT token authentication approach.

Next, you will learn how to provide different response formats like HTML, JSON, etc from a controller. You will then learn how to serialize the models in your app to JSON and how to use the Jbuilder tool to create complex JSON responses that involve multiple resources all the while keeping the code clean and easy to modify.

Finally, you will learn how to make your APIs future proof by adding support for pagination, API versioning, and alternative ways of querying and serving data using tools like GraphQL and Graphiti.

When you are finished with this course, you will be very comfortable creating APIs in Rails that can not only support multiple complex response formats but are secure, elegant, fast, and extensible.

Creating an API with Rails 5
Intermediate
1h 51m
(19)
Table of contents

About the author
Nitin Singh - Pluralsight course - Creating an API with Rails 5
Nitin Singh
6 courses 3.5 author rating 197 ratings

Nitin is an Android/iOS developer with 6+ years of experience developing products ranging from e-commerce apps to VR. He is currently changing the future of digital payments in India at Razorpay.

Get started with Pluralsight