Coder Social home page Coder Social logo

marti-dolce-flatiron-school-projects / devise-omniauth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nomanurrehman/devise-omniauth

0.0 1.0 0.0 67 KB

A sample application to demonstrate user sign in through a third party provider such as Facebook or Twitter.

Ruby 69.00% JavaScript 1.59% CoffeeScript 0.84% CSS 1.99% HTML 26.58%

devise-omniauth's Introduction

About

This is a sample application that allows users to log in using their Facebook, Github, Google, or Twitter accounts.

Running the Application

Installing Gems

Execute the command bundle install at the root of the project to install all gems.

Setting Environment Variables

The application configuration requires a number of environment variables to be set up.

Please have a look at the .env.example file for the environment variables you need to set up.

If you wish to test the application in a controlled environment, you can use the dotenv gem.

Execute the command bundle install --with development to install the dotenv gem.

Rename the .env.example file to .env and replace the placeholder variables with the actual values.

When using the dotenv gem, you should run the application using the command dotenv rails server.

Configuring Database

Before running the application, set the database configuration in the config/database.yml file.

Execute the command rails db:create to create the databases in your local environment.

Running Migrations

Execute the command rails db:migrate to run the database migrations.

Executing the Application

Execute the command rails server to run the application.

Contributing

If you wish to add more providers to this application, simply clone the repository and have a look at the code.

It is pretty self-explanatory so you should not have much problem figuring out how to go about it.

When you are done, simply send a pull request.

Feedback

Got anything to say? To the issues section!

devise-omniauth's People

Contributors

nomanurrehman avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.