An open API service indexing awesome lists of open source software.

https://github.com/obrm/github-users-index

Search GitHub users app. Built with: React, Hooks, Context API, Reducer Provider & React Router.
https://github.com/obrm/github-users-index

context-api react react-router-v6 reducer

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# React Github index

### Search GitHub users app.

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

#### [Live demo.](https://obrm-github-index.netlify.app)

### 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](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.