A responsive, dark-themed web application that utilizes the GitHub Users API to search for and display user profiles in real-time.
Built to demonstrate mastery of Vanilla JavaScript (ES6+), Asynchronous Programming, and Modern CSS layouts without relying on frameworks.
π Live Demo: View Live Site
- Real-time API Integration: Fetches user data (avatar, bio, stats, links) using the GitHub REST API.
- Robust Error Handling: Gracefully handles
404 Not Founderrors with custom UI feedback when a username doesn't exist. - Dark Mode UI: A polished, contrast-friendly dark theme inspired by modern developer tools.
- Responsive Design: Fully responsive layout that adapts from desktop grids to mobile stacks using CSS Media Queries.
- Data Formatting: Dynamically formats ISO dates (e.g.,
2025-06-24) into readable strings (e.g.,24 Jun 2025).
- Core: HTML5, CSS3, JavaScript (ES6+)
- Styling: Flexbox, CSS Grid, CSS Variables
- API: GitHub REST API (
fetch,async/await) - Version Control: Git & GitHub
This project was a refresher on the core fundamentals of web development before diving into React. Key takeaways included:
- Asynchronous Logic: Properly handling Promises using
async/awaitandtry/catchblocks to ensure the UI doesn't freeze while data loads. - DOM Manipulation: Creating dynamic HTML structures (like the profile card) efficiently using Template Literals.
- CSS Architecture: Structuring CSS to be "self-documenting" and using Flexbox/Grid for complex alignments (e.g., the stats dashboard).
- Edge Case Management: Realizing that APIs don't always return success, and building UI states for "Loading" and "User Not Found."
-
Clone the repository
git clone [https://github.com/AKG451/GitSearcher.git]
-
Open the project Simply open
index.htmlin your browser. No build step or npm install required!
Developed by Aryan Gupta