Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1.16 KB

README.md

File metadata and controls

27 lines (23 loc) · 1.16 KB

Github Users App

A side project app where users can login using their Github credentials and follow other people.

Demo

Features

  • Login with Github using Oauth
  • Fetch last 200 users who have forked Facebook's React repo
  • Display users using Pagination
  • Follow users
  • In the About section, display total number of users who have forked the repo so far

Technologies

  • 100% JavaScript
  • React and Context API
  • ExpressJS for backed
  • Material UI for pagination
  • Font Awesome for Icons

Local Setup

  1. Clone the repository
  2. npm install
  3. npm start
  4. You will need to create a .env file with a client_id, secret_key, proxy_url and redirect_uri to allow for github apis to work
  5. set REACT_APP_REDIRECT_URI=http://localhost:3000/login
  6. set REACT_APP_PROXY_URL=http://localhost:5000/authenticate
  7. To set REACT_APP_CLIENT_ID and REACT_APP_CLIENT_SECRET, please visit your Github Account's Settings and click on Developer Settings. Create a new Oauth app there and you can get the client id and client secret from there. Also, make same changes for redirect uri there in the Oauth app section.