github-search-users-react-project

Github Search Users πŸ”

PROD [Live] : https://react-github-search-users-prod.netlify.app

Github Search Users consists of a straightforward user interface where there is a

Languages

HTML, CSS, JavaScript, ECMAScript, React ~ ContextAPI - Hooks ~ useState, useEffect, useContext, React Router 6

API

https://api.github.com/

Deployment / Hosting

Netlify


Starter Project

Styled Components

Styled-Components - Main Docs

import styled from "styled-components";

const ReactComponent = () => {
 // logic here
 return <Wrapper>
 {some content}
 </Wrapper>
}


const Wrapper = styled.htmlElement`
write your styles here
`
export default ReactComponent

React Icons

React Icons - Main Docs

import { FiUsers, FiUserPlus } from "react-icons/fi";
<FiUsers className="nameOfTheClass"> </FiUsers>;

React Router Dom

version used - β€œreact-router-dom”: β€œ^5.2.0”,

Github API

Fusion Charts

Auth0

Deployment

Netlify

Additional Info

Redirects with react-router-dom

In order for routing to work on netlify, redirects was added to the public folder


/*    /index.html   200

Redirects Blog Post

Warnings and create-react-app

package.json

"build": "CI= react-scripts build",

create-react-app Warning Fix Blog Post


Note: I have developed this project as part of React and Projects Course taught by John Smilga.