Skip to content

A GitHub-integrated app dashboard built with Golang and GitHub GraphQL API to fetch and visualize repository metrics, PR insights, and test reports. πŸš€

Notifications You must be signed in to change notification settings

ayyush08/Devflow-Console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

41 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Devflow-Console πŸ’»

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.

✨ Features

  • πŸ“Š 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 :

    1. General Insights – Shows general insights like total commits, stars, forks, etc.
    2. Developer Insights – Shows insights related to developers like total PRs, commits, etc.
    3. Qa Engineer Insights – Shows insights related to QA engineers like total test cases, test cases passed, etc.
    4. 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.

πŸ—οΈ Tech Stack

  • Frontend: Next.js, ShadCN UI, Recharts
  • Backend: Golang , Gin
  • Data Fetching: GitHub GraphQL API

⚑ Getting Started

Prerequisites

  • Go installed
  • GitHub Personal Access Token (for API requests)

Installation

  1. Clone the repository:

    git clone https://github.com/ayyush08/devflow-console.git
    cd devflow-console
  2. Create a .env file in the client directory and add the following environment variables:

     NEXT_PUBLIC_BACKEND_URL=your-backend-url
  3. 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
  4. Run the backend server:

    cd server
    go run main.go
  5. Run the frontend server:

    cd client
     npm install
     npm run dev
  6. Visit http://localhost:3000 to view the application.

Contributing and Feedback

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.

About

A GitHub-integrated app dashboard built with Golang and GitHub GraphQL API to fetch and visualize repository metrics, PR insights, and test reports. πŸš€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published