AVO Internal tool. Authentication, Invitations, Roles, Tests | SupeRails #217

03/12/2024
avo
  • Create new Rails 8 app
  • Install Avo
  • Rails 8 authentication generator
  • Only logged in users can access Avo
  • Generate Avo CRUD resources (User, Session)
  • User Invitations
  • Only Admin Users can access Avo
  • Handle signed in non-admin users
  • Add tests
  • Summary

If you want to build an Internal tool, or Admin dashboard in Ruby on Rails, there is no better tool than Avo.

If you are building an internal tool, you don't need User registrations. You will want new users to join only via Invitation.

0:00 Create new Rails 8 app
1:31 Install Avo
2:45 Rails 8 authentication generator
3:55 Only logged in users can access Avo
7:42 Generate Avo CRUD resources (User, Session)
12:22 User Invitations
15:55 Only Admin Users can access Avo
20:43 Handle signed in non-admin users
25:00 Add tests
27:57 Summary

✅ Install Avo
✅ Rails 8 authentication
✅ Only logged in users can access Avo
✅ Generate Avo CRUD resources (User, Session)
✅ User Invitations
✅ Only Admin Users can access Avo
✅ Test coverage

Usually I try to make my videos shorter, but I really wanted to go through each problem you might have with Avo or Rails 8 authentication.

Episode source code

Avo resources:

0
Join the conversation
Sign in to access PRO lessons, access private repos, leave comments, create watch lists.
We collect your email address, name and username to create your account. We do not share your email address with anyone else.