https://github.com/chuksjoshuaa/react-search-github-users
React Project built with an External Api. Which allow users to search for any github account.
https://github.com/chuksjoshuaa/react-search-github-users
auth0 css3 html5 reacticons reactjs wrapper
Last synced: about 2 months ago
JSON representation
React Project built with an External Api. Which allow users to search for any github account.
- Host: GitHub
- URL: https://github.com/chuksjoshuaa/react-search-github-users
- Owner: ChuksJoshuaa
- Created: 2021-12-31T16:00:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-10T17:18:11.000Z (over 3 years ago)
- Last Synced: 2025-01-12T07:46:35.611Z (3 months ago)
- Topics: auth0, css3, html5, reacticons, reactjs, wrapper
- Language: JavaScript
- Homepage: https://sc-users.netlify.app/
- Size: 462 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Starter Project
- css provided (global styles, styled components)
- folders/files already setup
- all imports included (warnings)
- index.js for easier imports## Styled Components
[Styled-Components - Main Docs](https://styled-components.com/)
```jsx
import styled from "styled-components";const ReactComponent = () => {
// logic here
return
{some content}
}const Wrapper = styled.htmlElement`
write your styles here
`
export default ReactComponent
```## React Icons
[React Icons - Main Docs](https://react-icons.github.io/react-icons/)
```jsx
import { FiUsers, FiUserPlus } from "react-icons/fi";
;
```## React Router Dom
version used - "react-router-dom": "^5.2.0",
- [react-router-dom - Main Docs](https://reactrouter.com/web/guides/quick-start)
- renders the first child that matches
- A always matches## Gihthub API
- [Root Endpoint](https://api.github.com)
- [Get User](https://api.github.com/users/wesbos)
- [Repos](https://api.github.com/users/Chuksmbanaso/repos?per_page=100)
- [Followers](https://api.github.com/users/Chuksmbanaso/followers)
- [Rate Limit](https://api.github.com/rate_limit)For unauthenticated requests, the rate limit allows for up to 60 requests per hour. Unauthenticated requests are associated with the originating IP address, and not the user making requests..
## Fusion Charts
- [Fusion Charts - Main Docs](https://www.fusioncharts.com/)
- [First React Chart](https://www.fusioncharts.com/dev/getting-started/react/your-first-chart-using-react)
- [List Of Charts](https://www.fusioncharts.com/dev/chart-guide/list-of-charts)
- [Themes](https://www.fusioncharts.com/dev/themes/introduction-to-themes)## Auth0
- [Auth0 - Main Docs](https://auth0.com/)
- Create Application
- Choose : Single Page Web Applications
- Choose : React
- Go to Settings Tab
- Copy/Paste Domain, ClientID - can be public (or use .env)
- Add Domain -
for now http://localhost:3000 (DON'T COPY PASTE FROM URL BAR)- Allowed Callback URLs
- Allowed Logout URLs
- Allowed Web Origins
- SAVE CHANGES!!!!!!!!!!!!!!!
00- Connections
email,social- [React SDK Docs](https://auth0.com/docs/libraries/auth0-react)
- [REACT SDK API Docs](https://auth0.github.io/auth0-react/)## Deployment
[Netlify](https://www.netlify.com/)
## Additional Info
#### Redirects with react-router-dom
In order for routing to work on netlify, redirects was added to the public folder
- \_redirects file in public
```
/* /index.html 200
```
[Redirects Blog Post](https://dev.to/dance2die/page-not-found-on-netlify-with-react-router-58mc)
#### Warnings and create-react-app
package.json
```js
"build": "CI= react-scripts build",
```[create-react-app Warning Fix Blog Post](https://community.netlify.com/t/how-to-fix-build-failures-with-create-react-app-in-production/17752)