Explore GitHub profiles effortlessly with this React-based application. Built with Vite, TypeScript, and TailwindCSS, this app provides a fast and responsive interface to search and view GitHub user profiles.
- π Search GitHub profiles by username
- π View detailed user information and statistics
- ποΈ Responsive design with TailwindCSS
- β‘ Fast build and development setup with Vite
- β Type-safe codebase with TypeScript
Before you begin, ensure you have met the following requirements:
- Node.js (version 18 or newer)
- pnpm (version 7 or newer is recommended)
Follow these steps to set up and run the project locally:
- Clone the Repository:
git clone https://github.com/techno-trace/GithubProfileExplorer.git
cd GithubProfileExplorerInstall PNPM(Optional):
It's fast and efficient than any other package managers out there! Checkout PNPM at - https://pnpm.io/
npm i -g pnpm # only if you don't have pnpm already installed
Install Dependencies:
Using PNPM
pnpm i
Or Using NPM
npm i
Set Up Environment Variables: Create a .env file in the root directory and add your GitHub token:
VITE_GITHUB_TOKEN="your_github_token_here" VITE_API_BASE_URL="https://localhost:5174"
Run the Development Server:
pnpm dev
Open http://localhost:5174 to view it in your browser.OR
npm dev
Open http://localhost:5174 to view it in your browser.π¦ Building for Production
To build the project for production, run:
pnpm buildOR
npm buildThis will produce optimized files in the dist directory. π Previewing the Build
After building the project, you can preview it using Vite's preview command:
pnpm previewOR
npm previewπ Testing the App
You can run the test command which will open playwright test in ui and if you want more info on playwright you can visit Playwright:
pnpm testOR
npm testπ€ Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
Fork the Project
Create your Feature Branch (git checkout -b feature/AmazingFeature)
Commit your Changes (git commit -m 'Add some AmazingFeature')
Push to the Branch (git push origin feature/AmazingFeature)
Open a Pull Request
π License
Distributed under the MIT License. See LICENSE for more information. β¨ Acknowledgements
React
Vite
Tailwind CSS
π§ Contact
Digambar Saha - [email protected]
Project Link: https://github.com/techno-trace/GithubProfileExplorer