Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mateusffaria/github-code-finder
This repo is a react project to search for a code in GitHub repositories.
https://github.com/mateusffaria/github-code-finder
github octokit react
Last synced: 9 days ago
JSON representation
This repo is a react project to search for a code in GitHub repositories.
- Host: GitHub
- URL: https://github.com/mateusffaria/github-code-finder
- Owner: mateusffaria
- License: mit
- Created: 2021-07-28T20:34:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-28T20:57:34.000Z (over 3 years ago)
- Last Synced: 2024-11-10T15:48:31.370Z (2 months ago)
- Topics: github, octokit, react
- Language: TypeScript
- Homepage:
- Size: 279 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Github Code Search
This project is a simple github code finder using React and [Octokit](https://github.com/octokit/octokit.js) library. You can search for any code in all github grouping by repositories.
## How to run this project?
First, you need to generate `Personal access token` from [GitHub](https://github.com/settings/tokens)
When you finished, duplicate the `.env.example` file and rename it to `.env`
Paste your token inside of `.env` file should look like this:
`REACT_APP_GITHUB_DEV_KEY=your_personal_token`
In the project directory, you run:
`$ yarn install`
and then
`$ yarn start`
[http://localhost:3000](http://localhost:3000) to view it in the browser.
# Prints of application running:
![home](https://github.com/MateusFaria-TGG/github-code-finder/blob/main/public/docsImages/home.png)
![result](https://github.com/MateusFaria-TGG/github-code-finder/blob/main/public/docsImages/result.png)
# Next Steps:
1. Implement Pagination
2. Add more options to search
3. UI improvement
4. And more..