This is a simple web application built with JavaScript and Github API that allows users to input their Github username and fetch their Github profile information as well as their repositories. The application also allows users to sort their repositories by fork, star and size.
To use this application locally, follow these steps:
- Clone the repository using Git clone https://github.com/mk-manishkumar/GitHub-Wrapper-API
- Open index.html file in your web browser.
- Start using the application by submitting your GitHub Username.
Or if you don't want to tweak with codes, then just click on the link.
To use the application, follow these steps:
- Input your Github username in the input box provided
- Click the Show Details button
- Your Github profile card and repositories will be displayed
- To sort your repositories, click on the Forks, Stars or Size button at the top of the repositories list
This project was built with the following technologies:
- JavaScript
- Github API
- HTML & CSS
- Font Awesome
During the development of this project, I learned:
- How to use Github API to fetch user information and repositories
- How to sort an array of objects based on a property
- How to use fetch API in JS
- Async & Await
- Promises
Contributions to this project are welcome. Here are some ways you can contribute:
- Report a bug
- Fix a bug
- Add a new feature
- Improve the documentation
If you would like to contribute, please follow these steps:
- Fork the repository
- Create a new branch (git checkout -b feature/<feature_name>)
- Make your changes
- Commit your changes (git commit -m "<commit_message>")
- Push your changes to your forked repository (git push origin feature/<feature_name>)
- Create a new pull request
Also, if you want to connect with me, ping me on Twitter or LinkedIn