filmov
tv
BUILD YOUR OWN API AND AUTHENTICATION FROM SCRATCH WITH RAILS
Показать описание
In this exercise, we go through the process of building your own API server WITH User Token Authentication, from scratch, using Ruby on Rails!
This is a video aimed at beginner or intermediates, but if it's been a while since you've seen
Ruby on Rails, then this might be up your alley as well!
===---=== Chapters ===---===
0:00:00 - Introduction
0:00:20 - Demo through Postman
0:05:48 - Rails new
0:08:46 - Brief Database Discussion
0:09:15 - Rails s
0:09:41 - Opening Project in VS Code
0:11:05 - Gemfile
0:12:28 - Create a Todo Resource
0:13:35 - Creating an API Controller
0:14:25 - Brief Overview of REST
0:15:34 - API Namespace Design
0:19:23 - Updating Routes
0:20:25 - Adding CRUD Methods to API Controller
0:25:15 - Checking the Migration
0:26:28 - Updating the Seed
0:30:15 - Postman Test
0:34:00 - Adding Support for User w/Devise_Token_Auth
0:39:55 - Updating the ApplicationController
0:41:21 - Update Api::V1::TodosController
0:44:29 - Running devise:install
0:46:11 - Next Postman Test
0:47:24 - Update Seed File
0:51:09 - Authorization Header
0:52:15 - Reference From User to Todo
0:54:39 - Update the Seed File
0:56:17 - Add a Scope to User
0:58:14 - Cleanup User
0:59:33 - Some 404 Error Handling
1:03:04 - Handling CORS
1:08:36 - Setting up Swagger
1:15:34 - Adding some validation to Todo
1:17:55 - Wrapping Up
#RubyOnRails
#Tutorial
🔗Resources & Links mentioned in this video:
👋🏻Connect with me:
This is a video aimed at beginner or intermediates, but if it's been a while since you've seen
Ruby on Rails, then this might be up your alley as well!
===---=== Chapters ===---===
0:00:00 - Introduction
0:00:20 - Demo through Postman
0:05:48 - Rails new
0:08:46 - Brief Database Discussion
0:09:15 - Rails s
0:09:41 - Opening Project in VS Code
0:11:05 - Gemfile
0:12:28 - Create a Todo Resource
0:13:35 - Creating an API Controller
0:14:25 - Brief Overview of REST
0:15:34 - API Namespace Design
0:19:23 - Updating Routes
0:20:25 - Adding CRUD Methods to API Controller
0:25:15 - Checking the Migration
0:26:28 - Updating the Seed
0:30:15 - Postman Test
0:34:00 - Adding Support for User w/Devise_Token_Auth
0:39:55 - Updating the ApplicationController
0:41:21 - Update Api::V1::TodosController
0:44:29 - Running devise:install
0:46:11 - Next Postman Test
0:47:24 - Update Seed File
0:51:09 - Authorization Header
0:52:15 - Reference From User to Todo
0:54:39 - Update the Seed File
0:56:17 - Add a Scope to User
0:58:14 - Cleanup User
0:59:33 - Some 404 Error Handling
1:03:04 - Handling CORS
1:08:36 - Setting up Swagger
1:15:34 - Adding some validation to Todo
1:17:55 - Wrapping Up
#RubyOnRails
#Tutorial
🔗Resources & Links mentioned in this video:
👋🏻Connect with me:
Комментарии