Rails_6_devise_example screenshot

Rails_6_devise_example

Author Avatar Theme by Imhta
Updated: 4 Jul 2020
67 Stars

rails 6 with devise + bootstrap + github oauth

Categories

Overview

Rails 6 Devise Example is a basic template for implementing devise authentication in a Ruby on Rails 6 application. It also includes support for Omni GitHub authentication. The app is built with Ruby on Rails and utilizes the Bootstrap framework with Webpack. This example provides a starting point for implementing user authentication and authorization in a Rails 6 application.

Features

  • Ruby on Rails framework
  • Bootstrap integration with Webpack
  • Authentication using Devise gem
  • Support for GitHub authentication using OmniAuth
  • User login, signup, and forgot password functionality

Installation

To use the Rails 6 Devise Example, follow these steps:

  1. Ensure that you have Ruby 2.6 and Rails 6 installed.
  2. Install the Foreman gem: gem install foreman
  3. Clone the example repository.
  4. Run bundle to install necessary gems: bundle install
  5. Migrate the database: rails db:migrate
  6. Start the Rails server: rails server
  7. Start the Webpack server (Rails 6 default): ./bin/webpack-dev-server

Summary

The Rails 6 Devise Example provides a basic template for implementing user authentication and authorization in a Ruby on Rails 6 application. It integrates the Devise gem for authentication and includes support for GitHub authentication using OmniAuth. The example also utilizes the Bootstrap framework with Webpack for frontend styling and functionality. This template can be a useful starting point for developers looking to add user authentication to their Rails 6 projects.