Welcome to the GitHub Profile Viewer! This web application allows users to search for repositories and GitHub users. The project is built using HTML, CSS, JavaScript for the front-end, and the server is implemented using Express.js.
-
Repository Search: Users can search for repositories using keywords.
-
User Search: Users can search for GitHub users by username.
-
Pagination: Pagination feature for repositories to handle large sets of data.
-
Clickable Repository Headings: Repository headings are clickable and linked to the original repository.
-
Display of Languages and Description: Each repository displays the languages used and its description.
-
Total Stars Count: Total number of stars given to the repository is also mentioned.
-
404 Page: If a user does not exist, a 404 page is displayed.
To run this project locally, follow these steps:
- Clone this repository to your local machine using
git clone https://github.com/himanishu-2512/Github-Profile-Viewer
- Navigate to the project directory in your terminal.
- Open the index.html in your favourite browser.
- Navigate to the server folder by using
cd server
- Install the required dependencies using
npm install
. - Start the server using
npm start
. - Now got to index.html on web browser. You are ready to go.
- Use the search bar for repositories to enter keywords and find relevant repositories.
- Use the search bar for users to search for GitHub users by their usernames.
- Click on the headings of repositories to visit the original repository.
- Navigate through the pagination to explore more repositories.
If you'd like to contribute to this project, follow the standard GitHub flow:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name
). - Make your changes.
- Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature-name
). - Create a new Pull Request.
This project is licensed under the MIT License.
- This project was made possible by the use of Express.js for the server implementation.
- Special thanks to GitHub for providing the API used for repository and user data.
- Thanks to the open-source community for their valuable contributions.
If you have any questions, suggestions, or feedback, feel free to contact.
Thank you for exploring the GitHub Profile Viewer! We hope you find it useful and informative.