Skip to content

Wusinho/Members-only

Repository files navigation

Members Only (authentication project)

About

The goal of this project was to understand the foundations of authentication in Ruby on Rails by creating different form layouts that ask the user for different data, so they can have their own account. We set up the user controllers, models and views with the help of the devise gem and render each using bootstrap.

screenshot

Built with

  • Ruby on Rails
  • VS Code
  • Devise gem
  • Simple forms gem
  • Bootstrap
  • Rubocop

Getting started

Prerequisites

  • Browser (Google Chrome, Mozilla Firefox, Safari or any other browser)
  • Text editor (strongly recommended VS Code)
  • Empty directory where the repo is to be cloned

To get a local copy of this repo

Run the following comands in the terminal in the next order:

To run this project in your local environment

  • Step 1: Run in the terminal: $ bundle install

    Additional: Sometimes you might need to install yarn: $ install yarn or $ npm install --global yarn

  • Step 2: Run in the terminal: $ Rails server

  • Step 3: Open a localhost:3000 tab in your browser

How to use the aplication

  • Step 1: Create a new user by clicking the signin link at the top right corner and fill the form fields. Next, press the Sign Up link at the bottom of the page. Fill in the form fields and press the sign up link at the end

  • Step 2: The next page that will open is the feed page. There you can post a new message by filling the body field with a message and then by clicking the create message link at the end.

  • Step 3: The user's pots will appear next, and the user will see the Show, Edit and Destroy options for that specific message. Also the posts of the other members will appear along with their respective names.

  • Step 4: To log out, press the sign out link in the navbar. You'll know when you are not logged in because all the member names will disappear.

Authors

👤 Heber Lazo

👤 Alfredo Huemac

🤝 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!

Acknowledgments

  • Microverse
  • The Odin Project
  • Anyone whose detailed code inspired the creation of this project.

📝 License

This project is MIT licensed.

  • ...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published