Git Tracker is a GraphQL service written in Ballerina that connects with the GitHub REST API. It enables tracking and monitoring of Git repositories.
- Seamless integration with GitHub REST API and GitHub GraphQL API.
- Supports query, mutation, and subscription operations.
- Real-time tracking of repository activities.
- Provides a GraphQL interface for querying Git data.
- Ballerina - Version Swan Lake 2201.6.0
-
Clone the Git Tracker repository:
git clone https://github.com/DimuthuMadushan/git-tracker.git
-
Navigate to the cloned repository:
cd git-tracker
-
Configure the application by updating the config.toml file with your GitHub API credentials:
authToken = "<YOUR_GITHUB_AUTH_TOKEN>" owner = "<GITHUB_USERNAME>"
-
Start the Git Tracker service:
bal run
-
Access the Git Tracker service at http://localhost:9090/graphql.
Make GraphQL requests to interact with the Git Tracker service. Here's an example:
query MyQuery {
repositories {
created_at
description
forks_count
language
name
visibility
default_branch
license {
name
}
owner {
login
id
url
}
}
}
Modify the GraphQL query according to your specific requirements.
Contributions are welcome! If you find any issues or have suggestions for improvements, please submit a pull request. For major changes, please open an issue first to discuss your proposed changes.