API

This series shows a few different approaches to APIs and covers various topics like ReactNative, iOS applications, Versioning, Error Handling and more.
  • 2hr 26min
  • 11 Episodes
  • 2hr 26min Remaining
2hr 26min Remaining
  1. Rails API Basics
    Play
    5:28

    #49 Oct 2, 2016

    A brief introduction on Rails API. Learn how to create an API application and setup the routes. This episode is paving the way for more in depth looks into Rails API.
    • 5min
    • 27
    • 4

  2. Rails API - Throttling with Rack::Attack
    Play
    7:10

    #52 Oct 30, 2016

    Save expensive calculation time using Rack::Attack, we will learn how to limit requests coming into our application. This gem not only limits requests, but can be used to blacklist or whitelist users as well.
    • 7min
    • 14
    • 1

  3. API Structure and Error Handling
    Play
    19:53

    #228 Feb 9, 2020

    We look at consistency in a Rails API structure and handling errors.
    • 19min
    • 15
    • 13

  4. Rails API - Active Model Serializer
    Play
    7:53

    #50 Oct 16, 2016

    Using ActiveModel::Serializer, learn how to create the JSON responses for your Rails API application. ASM is a great object oriented approach to building a JSON API.
    • 7min
    • 19
    • 2

  5. Rails API Versioning
    Play
    9:52

    #142 Jul 15, 2018

    Using the URI or Accept Headers, we can version our API to prevent breaking changes to our end users. In this episode, we look at versioning our RESTful API.
    • 9min
    • 7
    • 0

  6. Rails API - Authentication with JWT
    Play
    7:31

    #51 Oct 23, 2016

    Using the knock gem, we will add JWT Authentication to our Rails API Application.
    • 7min
    • 20
    • 33

  7. Rails API App - Authentication with JSON Web Tokens
    Play
    24:04

    #138 Jun 17, 2018

    With a bare Rails API app, we add an authentication solution and checks per request with JSON Web Tokens, JWT.
    • 24min
    • 17
    • 14

  8. API Authentication with Omniauth
    Play
    11:56

    #172 Feb 10, 2019

    OAuth alone can be a difficult task. Combined with a Javascript Framework or Mobile Application, and things can get confusing quickly. In this episode, we look at a standalone React Component authenticating to a Rails 5 only API.
    • 11min
    • 6
    • 3

  9. iOS Authentication with a Rails API
    Play
    19:33

    #143 Jul 22, 2018

    In this episode, we look at creating an iOS Application which will communicate with the Rails API application from the previous episode.
    • 19min
    • 7
    • 0

  10. React Native and Ruby on Rails API Only Applications
    Play
    17:49

    #174 Feb 24, 2019

    In this episode, we look at building a React Native application from scratch and tie it to a Ruby on Rails API application. Using the iOS Simulator, we test out the connectivity between the two applications.
    • 17min
    • 15
    • 6

  11. Rails API Documentation
    Play
    15:18

    #146 Aug 12, 2018

    In this episode, we look at creating an interactive documentation for a Rails API.
    • 15min
    • 9
    • 7