Skip to content

‬ A simple web application for searching GitHub users

Notifications You must be signed in to change notification settings

saharulit/git-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub User Search Application

Overview

This is a simple web application for searching and displaying GitHub users. The application consists of a frontend built with React and a backend built with Express.js. Users can search for GitHub profiles, view their profile images, usernames, and the number of public repositories.

Prerequisites

Before running the application, ensure you have the following installed:

Getting Started

Follow these instructions to get your application up and running.

Clone the Repository

Clone the repository to your local machine:

git clone https://github.com/saharulit/git-finder.git cd git-finder

Setting Up the Backend

Create a .env file in the server directory and add your GitHub token: GITHUB_TOKEN=your_github_token_here

This token is not mandatory as the application handles requests without a token. However, GitHub imposes a limit on unauthenticated requests, so adding the token allows for more searches without hitting the rate limit.

Start the Application

Run the following command to start both the backend and frontend simultaneously:

npm i
npm start

This endpoint retrieves user data including the username, profile image, and number of public repositories.

Run Unit tests

npm test

About

‬ A simple web application for searching GitHub users

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published