/github-users-index

Search GitHub users app. Built with: React, Hooks, Context API, Reducer Provider & React Router.

Primary LanguageJavaScript

React Github index

Search GitHub users app.

Built with: React, Context API, Reducer Provider & React Router version 6.

Environment Variables

Create a .env.local file with these variables:

REACT_APP_GITHUB_CLIENT_ID='your-github-client-id'
REACT_APP_GITHUB_CLIENT_SECRET='your-github-client-secret'

In production call those variables:

GITHUB_CLIENT_ID
GITHUB_CLIENT_SECRET

Install

npm i

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode. Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes. You may also see any lint errors in the console.