Introduction
  • Why this course?
  • A word about: Asking for help and resources.
  • Our Students Chat Room
Best Practices: Postman App
  • Postman: Introduction
  • Postman Basics: New request
  • Postman Basics: Assigment: Getting data from the server
  • Postman Basics: Post request
  • Postman Basics: Assignment: Logging In User
  • Postman Basics: Automatic Documentation
  • Postman Advanced: Authorized Requests
  • Postman Advanced: Environments & Variables
  • Postman: Section Wrap Up & Rails API Documentation!
  • Useful Resources & links
Starting the Project: Environment setup
  • A word about my terminal
  • A word about my editor
  • Installing required software
  • Code: Creating Ruby on Rails API application
Introduction to API
  • About API
Article Model
  • Code: Article's object
  • Tests: RSpec introduction
  • Tests: Factory Bot Introduction
  • Tests: Article's validations
  • Code: Article's basic Validations
  • Assignment: Article's validations
Getting Articles' infromation
  • Tests: Article's collection route
  • Code: Article's collection route
  • Assignment: Article's details route
  • Tests: Article's collection requests tests.
  • Code: Serializing Articles
  • Note: Deprecated Serialization gems
  • Tests: Code improvements
  • Tests + Code: Recent articles
  • Tests: Paginating resources
  • Code: Paginating resources
  • Code Exercise: Articles#show controller
  • Code: Handling Errors in rails API appliations
Authentication Pre-setup
  • Note: Older version of the course
  • Oauth Flow explained
  • Create Github Application
  • Octokit Gem installation
  • Create User object
Authentication - Oauth Flow
  • Authentication service - failure
  • Authentication service - success
  • Reuse existing users
  • Token preparation
  • Login User Endpoint - Routing
  • Login User Endpoint - Unauthorized
  • Shared Examples
  • Create session - success
  • Authorization error handler
  • Refactoring error tests
  • Logout and authorize!
Articles management
  • Create Articles - unauthorized request
  • Handle validation errors
  • Create Articles - success call
  • Article's Update showcase
  • Updating articles tweaks
  • Article's removal showcase
Comments management
  • Listing comments - scaffolds cleanup
  • Creating comments - scaffold cleanup
  • Listing comments improvements
  • Creating comments improverments
Deploying to Heroku
  • Creating heroku account
  • Deploying to Heroku
Authentication - Login & Password
  • Lesson plan
  • Standard login - Controller preparation
  • Multiple authentication handlers
  • Fixing our authentication service specs
  • Tests: Standard flow authenticator
  • Encrypted password support for the user
  • Standard login service - finding the e user
  • Standard Authentication flow: Access token preparation.
  • Authentication endpoint - test coverage
  • Finishing the authentication flow
The User's registration
  • Regsitration - Tests
  • Registration - Success request
  • Registration - Handling validation failures
Bonus tips for Professionals.
  • Advanced Error Handling in API applications