API

This series shows a few different approaches to APIs and covers various topics like ReactNative, iOS applications, Versioning, Error Handling and more.
  • 2hr 51min
  • 12 Episodes
  • 2hr 51min Remaining
2hr 51min Remaining
  1. Rails 7 API Application
    Play
    24:57 CC

    #396 Apr 9, 2023

    In this episode, we look at setting up a Rails 7 API (only) application and create our own authentication solution. We'll also write the tests around the different controller endpoints that we create to make sure that we have good test coverage and functionality.
    • 24min
    • 5
    • 2

  2. Rails API Basics
    Play
    5:28 CC

    #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
    • 31
    • 4

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

    #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
    • 19
    • 1

  4. API Structure and Error Handling
    Play
    19:53 CC

    #228 Feb 9, 2020

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

  5. Rails API - Active Model Serializer
    Play
    7:53 CC

    #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
    • 26
    • 2

  6. Rails API Versioning
    Play
    9:52 CC

    #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
    • 11
    • 0

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

    #51 Oct 23, 2016

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

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

    #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
    • 27
    • 14

  9. API Authentication with Omniauth
    Play
    11:56 CC

    #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
    • 11
    • 3

  10. iOS Authentication with a Rails API
    Play
    19:33 CC

    #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

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

    #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
    • 21
    • 6

  12. Rails API Documentation
    Play
    15:18 CC

    #146 Aug 12, 2018

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