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.
- Host: GitHub
- URL: https://github.com/obrm/github-users-index
- Owner: obrm
- Created: 2023-02-28T15:36:07.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-10T10:28:28.000Z (over 2 years ago)
- Last Synced: 2025-04-19T08:32:56.550Z (6 months ago)
- Topics: context-api, react, react-router-v6, reducer
- Language: JavaScript
- Homepage: https://obrm-github-index.netlify.app/
- Size: 411 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.