nmking22 / oauth_practice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

About this Project

OAuth Practice is a very simple rails app built to practice the basics of OAuth. The app allows users to log in with their github credentials, and view lists of their public and private repos. It is designed to work on localhost:3000.

Local Setup

  1. Fork and Clone the repo
  2. Install gem packages: bundle install
  3. Setup the database: rails db:create

Versions

  • Ruby 2.5.3
  • Rails 5.2.4.3

Using the App

1. Run the rails s command in the application's root directory.

Screen Shot 2021-01-02 at 10 57 58 PM

2. Navigate to localhost:3000 in your browser of choice and click the login button.

Screen Shot 2021-01-02 at 10 55 27 PM

3. Enter your github credentials.

Screen Shot 2021-01-02 at 10 56 08 PM

4. Behold the wonder of your github repositories. Public repos appear at the top, while private repos are grouped at the bottom of the page.

Screen Shot 2021-01-02 at 10 55 35 PM

Screen Shot 2021-01-02 at 10 55 40 PM

5. ... And that's it! Very simple, indeed.

About


Languages

Language:Ruby 78.0%Language:HTML 16.9%Language:JavaScript 3.2%Language:CSS 2.0%