enelesmai / authentication-members-only-ror

Using the Devise gem to have a first approach at authentication in rails.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

members-only - Rails

Using the Devise gem to have a first approach at authentication in rails.

Models created

  • User
  • Post

Built With

  • Ruby 2.5.1
  • Rails 6.0.2

Screenshot

image

Usage

This is the main page, you will not be able to create posts until you are logged in. image

Log in to the application as shown in the image below:

image

Now you'll see your username and the author's name of each post.

image

Now you can create a post

image

image

Save it, and you will see it on the list:

image

To log out just click on the link "Log out"

image

And you'll be sent to the main page

image

If you are a new user, you can go to the Sign Up page and register there image

Authors

👤 Sebastian Gil Rodriguez

👤 Xochitl Selene Flores Perez

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

About

Using the Devise gem to have a first approach at authentication in rails.


Languages

Language:Ruby 76.5%Language:HTML 18.3%Language:CSS 3.1%Language:JavaScript 1.8%Language:CoffeeScript 0.3%