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
Watch video Devise API Authentication With Vue JS | Ruby on Rails 7 Tutorial online without registration, duration hours minute second in high quality. This video was added by user Deanin 01 January 1970, don't forget to share it with your friends and acquaintances, it has been viewed on our site 21,782 once and liked it 389 people.