Skip to main content

How To Build APIs with Rails Tutorial Series

Learn how to build APIs with Ruby on Rails for frontend Javascript frameworks, mobile apps, and for public consumption.

14:51
Our First API
#162 ·

We build a basic API and talk about the differences between a regular Rails controller and an API

13:09
JSON Web Tokens (JWT) vs Rails Session Cookies
#163 · Pro

Explore the differences and similarities between Json Web Tokens and Rails session cookies and why you'd want to use one over the other

21:25
API Authentication with JSON Web Tokens (JWT) and Knock
#165 · Pro

Authenticate your API using JSON Web Tokens (JWT) using the Knock gem

22:36
JSON Web Token Authentication From Scratch
#166 · Pro

Add JWT Authentication to your Rails API from scratch

12:51
JSON Web Tokens with Devise & Warden
#167 · Pro

Add a Warden strategy to Devise to support JWT authentication with your Rails app

19:49
JSON:API Format and Active Model Serializers
#168 ·

Learn how to format your API easily using Active Model Serializers and the JSON:API spec

24:30
VueJS JWT Auth with Rails APIs and LocalStorage
#169 · Pro

Build a basic VueJS frontend application that authenticates to the server using JWT, Rails API, and LocalStorage