rails_6_devise_example
rails_6_devise_example copied to clipboard
rails 6 with devise + bootstrap + github oauth
Rails 6 devise example
It is an example app and a basic template for devise auth in rails 6 with omni github auth.
Build with
- Ruby on Rails
- Bootstrap with Webpack
- Github OAuth
Get Started
Requirements
- Ruby 2.6
- Rails 6
- Foreman gem
Clone
git clone https://github.com/imhta/rails_6_devise_example.git
cd rails_6_devise_example
Install and migrate db
bundle install
yarn install --check-files
rails db:migrate
Start Server
To start rails server
rails server
To start webpack server (rails 6 default is to use webpack)
gem install foreman
foreman start -f Procfile.dev
Screenshots
Log In Page
Sign Up Page
Forgot password Page
Home Page
Useful links
- How to Redirect to a specific page on successful sign in
- How to use custom mailer
- The Figaro Gem: an easier way to securely configure Rails applications
- OAuth with digital ocean in devise
- Omni Auth: overview
- Other Devise Examples