Skip to content

Instantly share code, notes, and snippets.

@majedbojan
Last active April 5, 2021 12:20
Show Gist options
  • Save majedbojan/62bcc6b916288335942690cae77fc16c to your computer and use it in GitHub Desktop.
Save majedbojan/62bcc6b916288335942690cae77fc16c to your computer and use it in GitHub Desktop.

Ruby On Rails: API Training Plan

Table of Contents

Day 40: 04/03/2021 + Weekend 05-06/03/2021

Create and setup the project

  • Setup git
  • Prepare project environments (dev, staging, production)
  • Prepare database.yml and credentials for all environments among with example file (e.g. database.yml.example)
  • Cleanup gemfile and add basic gems

Day 41: 07/03/2021

Organizing controllers

  • Versioning our controllers and create v1 folder
  • Cleanup routes and make it ready for versioning
  • Prepare application_controller
  • Add Ping Controller to test api endpoint

Day 42: 08/03/2021

Build settings APIs with their models

  • Hotels
  • Employees
  • Rooms
  • Postman

Day 43: 09/03/2021

Prepare response serialization and ResponseRenderer

Day 44: 10/03/2021

Rescue from known errors

Setup Internationalization

  • Setup localization for Arabic and English

Day 45: 11/03/2021 + Weekend 12-13/03/2021

Complete reservation APIs

Day 46: 14/03/2021

Authentication

  • Add required gems
  • Add user model
  • Add routes for user resource
  • Add users controller (create only)
  • Add sessions controller
  • Add routes for sessions controller
  • Modify related changes needed in application controller
  • Complete users controller actions(show, update, destroy)

Day 47: 15/03/2021

Password management

  • Change password
  • Reset password

Send emails using gmail

  • Letter opener gem
  • Send reset password email

Day 48: 16/03/2021

  • Apply Searching and Filtering with Ransack Gem
  • Apply Sorting
  • Apply Pagination with kaminari Gem

Day 49: 17/03/2021

  • Upload files (Active Storage)
  • Setup CORS
  • Deploy to heroku

Day 50: 18/03/2021 + Weekend 19-20/03/2021

  • Background Jobs
  • Export pdf
  • Export excel
  • Bulk import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment