tuna42na / baby-namr

Baby Naming Application Frontend
0 stars 1 forks source link

Develop plan for adding users/accounts to baby-namr #7

Open trvslhlt opened 3 years ago

trvslhlt commented 3 years ago

We want users and after that we want to authenticate them.

trvslhlt commented 3 years ago

This tutorial describes how to introduce a User model and implement authentication in rails: https://medium.com/@wintermeyer/authentication-from-scratch-with-rails-5-2-92d8676f6836

trvslhlt commented 3 years ago

This post covers a similar approach but also mentions helper_method, before_action, and skip_before_action: https://levelup.gitconnected.com/simple-authentication-guide-with-ruby-on-rails-16a6255f0be8

trvslhlt commented 3 years ago

I would follow the second tutorial. Seems like a fine place to start.