GitHub Stats is a user-friendly web application that allows you to search for GitHub users and retrieve their GitHub statistics, including followers, following, public repositories, and public gists.
- User Search: Easily search for GitHub users by their usernames.
- User Profile: View detailed information about a GitHub user, including their profile picture, username, and bio.
- Statistics: Get insights into a user's GitHub activity, such as their number of followers, who they are following, and the number of public repositories and gists they have.
- Account Creation: If you don't have an account, you can create one by clicking the "Create Account" button.
- Profile Updates: Update your profile information, such as your email, password, first name, and last name.
-
Clone the repository to your local machine:
git clone https://github.com/marlonsalazarg/github-stats.git
-
Navigate to the project directory:
cd github-stats -
Install the project dependencies:
npm install
-
Start the development server:
npm run dev
-
Open http://localhost:3000 with your browser to see the result.
To access, you must log in with your account. If you don't have an account, you can create one by clicking the "Create Account" button.
Before you can use the application, you'll need to generate a GitHub API key. Here's how:
- Go to your GitHub profile settings.
- Navigate to the "Developer settings" and click on "Personal access tokens."
- Click the "Generate token" button to create a new access token.
- Select the necessary permissions for the token (e.g., user, repo) to use the application.
- Copy the generated token.
- In the GitHub Stats directory, create a
token_git.jsfile. You can find atoken_git.example.jsfile in the directory to use as a template.