Devise API Authentication With Vue JS | Ruby on Rails 7 Tutorial

Опубликовано: 01 Январь 1970
на канале: Deanin
21,782
389

This Ruby on Rails 7 tutorial will teach you how to create a Devise API and login to it from JavaScript using a Vue JS frontend with a Vuex store. Because a Devise API Authentication guide alone would take 20 minutes, and the Vue JS project would take another 60, I've heavily edited this video to make it more digestible.

If needed, please pause and use the timestamps to jump around.

Join this channel to help support these videos:
   / @deanin  

Repository for this video:
https://github.com/Deanout/devise-vue...

Styles used in session manager gist:
https://gist.github.com/Deanout/f5199...

Enable Session Storage Rails 7:
https://api.rubyonrails.org/v6.0.3.3/...

Timestamps
0:00 Devise API With Vue JS Demo
0:22 Creating the Devise API
1:30 Devise JWT Tutorial
3:30 Devise API JWT Controllers for Sessions and Registrations
7:53 Devise JWT Secret Key
8:48 Routing for Devise API
9:53 Configure Session Store in Rails 7
11:23 Vue JS User Login Application
12:20 Vuex Store for User Login
19:37 Devise API and Vue JS Stay Logged in on Refresh with JWT
21:05 Vue JS User Account Session Manager Component
27:35 Fixing Mutations using Payload instead of Data
27:51 Putting it all together.

Follow me on social media:
https://linktr.ee/deanin

If you liked this video, please consider subscribing: https://t.co/RZ4EwP0F2a

devise jwt rails api
#Deanin #Software #Programming


Смотрите видео Devise API Authentication With Vue JS | Ruby on Rails 7 Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Deanin 01 Январь 1970, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 21,782 раз и оно понравилось 389 людям.