Skip to content

CemWebDev/github-user-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-user-search

Overview

This github user application allows users to search for Github profiles and view their details using GitHub API. The application provides an interface to enter a username an fetch information about that user, including their profile picture, login name, public repositories, followers, and following count.

Features

  • Search Functionality: Allows users to search for GitHub profiles by entering a username.

  • Profile Display: Shows the user's avatar, login name, public repositories count, followers count, and following count.

  • Error Handling: Displays appropriate error messages if the user is not found or if the input is invalid.

  • HTML: For the structure of the web page.

  • CSS: For styling the application.

  • JavaScript: For handling user interactions and fetching data from the GitHub API.

  • GitHub API: To retrieve user data.

Prerequisites

  • A modern web browser (e.g., Chrome, Firefox)
  • A code editor (e.g., Visual Studio Code)
  • Basic knowledge of HTML, CSS, and JavaScript

Installation

  1. Clone the Repository
git clone https://github.com/yourusername/github-user-search-app.git

Usage

  • Open the Application

  • Open index.html in your web browser.

  • Search for a GitHub User

  • Enter a GitHub username in the input field and click the "Search" button.

  • View User Details

  • If the user exists, their profile information will be displayed. If the user is not found or an error occurs, an appropriate message will be shown.

Example