This project consists of two parts: a frontend application and a backend application. Together, they provide a platform to fetch, sort, and like GitHub repositories, with a focus on displaying repository data sorted by the most stars in descending order.
- Dashboard Interface: Displays repository data sorted by the repo with the most stars in descending order.
- Sorting and Filtering: Users can sort repositories by stars and filter their favorite repositories.
- Favorites Management: Save and manage favorite repositories.
- Node.js (v16 or higher) installed on your machine.
- npm (Node Package Manager).
-
Clone the frontend repository:
git clone https://github.com/OptimaLPro/GitHub-Fetcher.git cd GitHub-Fetcher -
Install dependencies:
npm install
Start the development server:
npm run devThe frontend application will run at http://localhost:5173.
Ensure the backend server is running before using the frontend application.
The frontend uses a proxy configured in vite.config.ts to redirect API requests to the backend for CORS handling.
The current proxy is set to http://localhost:5001.
https://github.com/OptimaLPro/GitHub-Fetcher-Backend