Back to Copilotkit

Dynamic SaaS Dashboard

examples/v1/_legacy/saas-dynamic-dashboards/README.md

1.57.01.4 KB
Original Source

Dynamic SaaS Dashboard

Overview

Deployed on Vercel: https://dynamic-saas-dashboard.vercel.app

This project is a modern dashboard and analytics solution built with Next.js (in the frontend directory). It features:

  • Clean, responsive UI for PR and repository analytics
  • Interactive charts and tables
  • Integration with OpenAI via CopilotKit

Quick Start (Frontend)

  1. Install dependencies

    bash
    cd frontend
    pnpm install
    
  2. Set up environment variables

    • Create a .env file in the frontend directory:
      bash
      echo "OPENAI_API_KEY=your_openai_api_key_here" > .env
      
    • Replace your_openai_api_key_here with your actual OpenAI API key.
  3. Run the development server

    bash
    pnpm run dev
    

    The app will be available at http://localhost:3000.


Quick Start (Backend Agent)

  1. Install dependencies

    bash
    cd agent
    poetry install
    
  2. Set up environment variables

    • Create a .env file in the agent directory:
      bash
      echo "OPENAI_API_KEY=your_openai_api_key_here" > .env
      
    • Replace your_openai_api_key_here with your actual OpenAI API key.
  3. Run the Langgraph server

    bash
    python agent.py
    

To refer to the recording to the demo, Refer here :

bash
https://www.loom.com/share/43be7bcbf1954672934e62ff8b3ee86e