A side project app where users can login using their Github credentials and follow other people.
- 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
- 100% JavaScript
- React and Context API
- ExpressJS for backed
- Material UI for pagination
- Font Awesome for Icons
- Clone the repository
npm install
npm start
- You will need to create a
.env
file with aclient_id
,secret_key
,proxy_url
andredirect_uri
to allow for github apis to work - set REACT_APP_REDIRECT_URI=http://localhost:3000/login
- set REACT_APP_PROXY_URL=http://localhost:5000/authenticate
- 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.