[Collaborative project]
This assignment consists of using the Devise gem to have a first approach at authentication in rails. I was able to build an application that allows users to create posts and the authors of the posts are displayed only if as a User you are logged in. More like an exclusive clubhouse where your members can write anonymous posts. Inside the clubhouse, members can see who the author of a post is but, outside, they can only see the story and wonder who wrote it.. Find project specifications here
- Ruby
- Devise
- Ruby on Rails
- webpack
- Heroku
- Sqlite
- MVC pattern
- Node.js -Yarn
To get a local copy up and running follow these simple example steps.
- Vscode
- Heroku CLI
- Terminal
- Linters Test
- Rubocop style guide
- Open your terminal and locate the folder you want to clone the repository and follow the steps below to install
Run the following command into your terminal:
git clone https://github.com/errea/member_only-rails_app.git
gem bundle install --without production
run rails db:migrate to migrate files
├── README.md
├── bundle
│ └── main.rb
└── .github\workflows
└── linters.yml
└── app
└── assets
└── channels
└── controllers
└── helpers
└── jobs
└── mailers
└── models
└── views
└── bin
└── config
└── db
└──log
└── bin
└── public
└── storage
└──test
- Git clone this repo and cd the to the
member_only
directory. - Run
rails server
in command line to open the application server in your browser via http://localhost:3000 or something similar - Run
heroku start
. - heroku run
- heroku run rails db:migrate
- git push heroku main
- heroku run console
👤 Eri
- Github: @errea
- Twitter: @Erreakay
- Linkedin: Eri Okereafor
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse
This project is MIT licensed.