A dashboard console that provides real-time repository insights, PR analytics, and test reports through visual depiction of certain kinds of charts. Built with Golang and GitHub GraphQL API, it optimizes data fetching for an efficient developer experience.
-
π Repository Metrics β Displays total commits, stars, and other key insights.
-
π Template based Insights β Fetches relevant data from GitHub API and shows it accordingly per template. Templates are organized as :
- General Insights β Shows general insights like total commits, stars, forks, etc.
- Developer Insights β Shows insights related to developers like total PRs, commits, etc.
- Qa Engineer Insights β Shows insights related to QA engineers like total test cases, test cases passed, etc.
- Project Manager Insights β Shows insights related to project managers like total issues, issues closed, etc.
-
π Versatile Visuals β Displays certain aspects of the metrics through different kinds of charts
-
π Optimized API Calls β Uses GraphQL for efficient data retrieval.
-
π¦ Modular & Scalable Backend β Structured Go backend for maintainability.
- Frontend: Next.js, ShadCN UI, Recharts
- Backend: Golang , Gin
- Data Fetching: GitHub GraphQL API
- Go installed
- GitHub Personal Access Token (for API requests)
-
Clone the repository:
git clone https://github.com/ayyush08/devflow-console.git cd devflow-console
-
Create a
.env
file in the client directory and add the following environment variables:NEXT_PUBLIC_BACKEND_URL=your-backend-url
-
Create a
.env
file in the server directory and add the following environment variables:PORT=port to run the server, make sure it is not 3000, as 3000 is for client GITHUB_ACCESS_TOKEN=your-github-access-token to fetch data FRONTEND_URL=your-frontend-url
-
Run the backend server:
cd server go run main.go
-
Run the frontend server:
cd client npm install npm run dev
-
Visit
http://localhost:3000
to view the application.
Any kind of contributions are welcome. Please feel free to fork the repository and make a pull request. For feedback, suggestions, or queries, feel free to open an issue.