"Github Searcher" is an application that allows users to enter a keyword and username in the browser, performs a search via the Github API in the backend, and displays up to 50 results. The frontend is implemented with TypeScript and Next.js, and the backend is implemented with FastAPI.
- Access the application from your browser.
- Enter a keyword and username in the search bar.
- Clicking the search button will search for the corresponding information via the Github API and display up to 50 results.
- Windows 11 Home 22H2
- Node.js v18.16.0
- Python 3.11.064
- pip 23.1.1
-
Clone or download this repository.
git clone https://github.com/Yuto729/github-searcher.git cd github-searcher -
Install the necessary packages.
Frontend:
cd src cd frontend npm installBackend:
cd src cd backend pip install -r requirements.txt -
Launch each server.
Frontend:
cd src cd frontend npm run devBackend:
cd src cd backend uvicorn main:app --reload
Now, the frontend can be accessed at http://localhost:3000, and the backend at http://localhost:8000.
- Fork the repo (https://github.com/yourusername/github-searcher/fork)
- Create your feature branch (
git checkout -b feature/fooBar) - Commit your changes (
git commit -am 'Add some fooBar') - Push to the branch (
git push origin feature/fooBar) - Create a new Pull Request
If you have any issues or suggestions for improvement, please let us know via Github issues.