A React-based web application that helps developers explore GitHub repositories, discover projects, and view repository information through the GitHub API.
🔗 Live Demo: GitHub Repo Explorer
GitHub Repo Explorer provides a convenient interface for exploring repositories and accessing useful project information. It uses the GitHub API to retrieve repository data and presents it through an interactive web interface.
The project helped me strengthen my skills in React development, API integration, asynchronous JavaScript, and building responsive user interfaces.
- Repository Exploration: Explore GitHub repositories and their available information.
- GitHub API Integration: Retrieve repository data using API requests.
- Repository Analytics: Work with repository statistics and activity data where the GitHub API provides them.
- Interactive UI: Navigate repository information through a React-based interface.
- Loading and Error Handling: Handle API request states and unsuccessful responses.
- Live Deployment: Access the application online through Vercel.
| Technology | Purpose |
|---|---|
| React.js | Building reusable UI components |
| JavaScript (ES6+) | Application logic and data processing |
| HTML5 | Application structure |
| CSS3 | Styling and responsive layouts |
| GitHub REST API | Fetching repository information and statistics |
| Git & GitHub | Version control and source code management |
| Vercel | Application deployment |
- Node.js and npm installed
- Git installed
-
Clone the repository:
git clone https://github.com/Mansoorsk12/github-repo-explorer.git
-
Navigate to the project directory:
cd github-repo-explorer -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open the local URL displayed in your terminal.
Replace the repository URL and directory name above if your actual GitHub repository uses a different name.
The application uses the GitHub REST API to retrieve repository information.
Examples of GitHub API endpoints that can be used for repository data and analytics include:
- Repository details:
GET /repos/{owner}/{repo} - Contributors:
GET /repos/{owner}/{repo}/stats/contributors - Commit activity:
GET /repos/{owner}/{repo}/stats/commit_activity - Code frequency:
GET /repos/{owner}/{repo}/stats/code_frequency
Some statistics endpoints may return an empty response while GitHub calculates the data. API rate limits can also affect requests, particularly when using unauthenticated access.
- Integrating REST APIs into React applications.
- Managing asynchronous API requests and application state.
- Displaying dynamic data in reusable components.
- Handling loading states, API errors, and rate limits.
- Using Git and GitHub for project development.
- Deploying a frontend application using Vercel.
Try the deployed application:
Shaik Mansoor Sadhik
- GitHub: Mansoorsk12
- LinkedIn: Connect with me