Skip to content

EmmanoelCoutinho/GitSearch

Repository files navigation

Here you can find any developer in the world!

This is an web application that lists your repositories on github, made using Typescript, styled-components and React.

How to use?

Frist of all:

Yarn

to get all the dependencies that were used in this project, you can check them in the package.json,

Now, the environment variables:

In this project i used two environment variables, and you have two options about that:

Frist:

You can go to the github api documentation and make your own keys, after that create a .env file at the root of the project and write:
REACT_APP_GITHUB_PUBLIC= your_public_key;
REACT_APP_GITHUB_SECRET= your_secret_key;

Second:

You can just delete the environment variables, which are called in the app.tsx, remove them from fetch and useEffect as well and it should work (the first is more advisable! ^^)

Preview

Dark Mode:

Light Mode: