Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imhta/rails_6_devise_example
rails 6 with devise + bootstrap + github oauth
https://github.com/imhta/rails_6_devise_example
devise githubauth oauth2 omniauth rails rails6 template webpack
Last synced: 5 days ago
JSON representation
rails 6 with devise + bootstrap + github oauth
- Host: GitHub
- URL: https://github.com/imhta/rails_6_devise_example
- Owner: imhta
- Created: 2019-09-26T16:26:37.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-08T20:18:18.000Z (almost 2 years ago)
- Last Synced: 2024-12-17T11:11:46.959Z (9 days ago)
- Topics: devise, githubauth, oauth2, omniauth, rails, rails6, template, webpack
- Language: Ruby
- Homepage:
- Size: 266 KB
- Stars: 67
- Watchers: 5
- Forks: 28
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```bash
git clone https://github.com/imhta/rails_6_devise_example.git
cd rails_6_devise_example
```
### Install and migrate db```bash
bundle install
yarn install --check-files
rails db:migrate
```
### Start Server
To start rails server
```bash
rails server```
To start webpack server (rails 6 default is to use webpack)
```bash
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](https://github.com/plataformatec/devise/wiki/How-To:-redirect-to-a-specific-page-on-successful-sign-in)
- [How to use custom mailer](https://github.com/plataformatec/devise/wiki/How-To:-Use-custom-mailer)
- [The Figaro Gem: an easier way to securely configure Rails applications](https://medium.com/@MinimalGhost/the-figaro-gem-an-easier-way-to-securely-configure-rails-applications-c6f963b7e993)
- [OAuth with digital ocean in devise](https://www.digitalocean.com/community/tutorials/how-to-configure-devise-and-omniauth-for-your-rails-application)
- [Omni Auth: overview](https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview)
- [Other Devise Examples](https://github.com/plataformatec/devise/wiki/Example-applications)
### Common Error
- [undefined method devise for in rails](https://stackoverflow.com/questions/4810941/undefined-method-devise-for-in-rails)