November 05 2024, at 11:34

Building an App with the GitHub API: My Experience and Learnings

Building an App with the GitHub API: My Experience and Learnings Image

Recently, while reading some articles, I came across a project where a developer used the GitHub API to search for a username and display basic information about that user. This inspired me to create my own version of the app, aiming to add more detailed user information.

To develop this application, I used several modern technologies, including:

The application is available at https://githubdata.ultimatemercer.com/.

You can also access it with a pre-defined username, like this: https://githubdata.ultimatemercer.com/?un=ultimatemercer. This way, the site will fetch user data upon loading.

I ran a performance test with Lighthouse to check for performance, accessibility, best practices, and SEO, and I achieved excellent results. While performance varies slightly, the initial results were better than expected, considering I hadn’t focused much on optimization.

Performance Lighthouse

Some screenshots of the application:

Screenshot 1

Screenshot 2

Screenshot 3

Overall, this project was a valuable experience in terms of learning and using new tools. One area for improvement would be the planning phase, as I had to refactor the structure to integrate @tanstack/query.

Next Steps

I plan to make further improvements to the project (I’m taking a break from it for now). The main points to work on are:

Best regards,
Julian Silva da Cunha

Github
SvelteKit
API
Web development
Deploy
Vercel
Octokit

Written by:

Image

Julian Silva da Cunha

Student/Web Developer/Designer