Examining Rails APIs


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
Rails is an MVC framework that facilitates the use of web standards such as JSON and XML for data transfer, and HTML, CSS, and JavaScript for display and user interfacing. In this course, you will learn the basics for creating an API, how to use Postman, and how to implement API authentication.

Target Audience
Programmers looking to expand their skill set in the Rails environment

Prerequisites
None

Expected Duration (hours)
2.4

Lesson Objectives

Examining Rails APIs

  • start the course
  • create an API application
  • add rails-api to an existing project
  • use Postman to test results
  • work with endpoints for INDEX and CREATE
  • work with endpoint for SHOW, UPDATE, and DESTROY
  • render JSON manually
  • render JSON with active_model_serializers
  • use versioning
  • generate access tokens for authentication
  • use SessionsController for issuing and validating access tokens
  • use the authenticate_or_request_with_http_token method
  • perform authentication with Devise
  • set up Apipie Gem
  • document resources and actions using Apipie
  • customize validators for Apipie
  • use RDoc for documentation
  • use Rack::Test to test HTTP response codes
  • work with log directories
  • implement Unicorn as a web server
  • use Kaminari for pagination
  • create search forms with Ransack
  • describe the basics of elasticsearch
  • manipulate CSV files
  • use rjb to connect Ruby with Java
  • customize error pages
  • put search on an API endpoint
  • Course Number:
    sd_rorf_a05_it_enus

    Expertise Level
    Intermediate