A modern, responsive React application that allows users to search for GitHub profiles using the GitHub API. Built with React, TypeScript, and Tailwind CSS, this application provides a sleek interface to view GitHub user information including their profile details, repository count, and follower statistics.
Before you begin, ensure you have the following installed:
Clone the repository:
git clone <repository-url>
cd github-user-search
Install dependencies:
npm install
Start the development server:
npm run dev
The application will be available at http://localhost:5173
src/
āāā components/ # Reusable UI components
ā āāā EmptyState.tsx
ā āāā ErrorMessage.tsx
ā āāā Loading.tsx
ā āāā SearchBar.tsx
ā āāā UserProfile.tsx
āāā services/ # API integration
ā āāā github.ts
āāā types/ # TypeScript interfaces
ā āāā github.ts
āāā App.tsx # Main application component
āāā main.tsx # Application entry point
Component Architecture
State Management
API Integration
Styling Approach
To build the application for production:
npm run build
This will create a dist
directory with optimized production build.
To run the development server with hot reload:
npm run dev
For linting:
npm run lint
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)This project is licensed under the KRIS-D License - see the LICENSE file for details.