A Flutter application that displays a leaderboard of GitHub Pull Request contributions for the Palisadoes Foundation's projects. This tool helps track and visualize contributor activity across repositories.
- Real-time GitHub PR statistics
- Contributor rankings based on PR activity
- Clean and modern Material Design UI
- Responsive layout for various screen sizes
- Secure GitHub token management
Before running the application, make sure you have the following installed:
-
Clone the repository:
git clone https://github.com/PalisadoesFoundation/talawa-leaderboard.git cd talawa-leaderboard -
Install dependencies:
flutter pub get
-
Set up environment variables:
- Copy the
.env_copyfile to create a new.envfile:cp .env_copy .env
- Edit the
.envfile and replaceyour_github_token_herewith your GitHub Personal Access Token - To create a GitHub token:
- Go to GitHub Settings > Developer Settings > Personal Access Tokens
- Click "Generate new token"
- Select the necessary scopes (
repoaccess is required) - Copy the generated token and paste it in your
.envfile
- Copy the
-
Run the application:
flutter run
lib/
├── core/ # Core functionality
│ ├── constants/ # Application constants
│ ├── models/ # Data models
│ └── services/ # API services
└── features/ # Feature modules
└── leaderboard/ # Leaderboard feature
├── repositories/ # Data repositories
├── view_models/ # View models
└── views/ # UI components
- Fork the repository
- Create a new branch for your feature
- Make your changes
- Submit a pull request
This project is licensed under the terms specified by the Palisadoes Foundation.