Skip to content

WiZzArD07/dashboard

Repository files navigation

πŸš€ SprintX - AI-Powered Software Project Management Dashboard

SprintX is a modern AI-powered Software Project Management Dashboard designed to help teams manage projects, resources, risks, budgets, and delivery performance from a single platform.

Built with modern full-stack technologies, SprintX combines project tracking, team management, executive reporting, and AI-driven insights to improve project visibility and decision-making.

Live link : https://sprintx-dun.vercel.app/login


🌟 Vision

SprintX aims to become an intelligent project management platform that not only tracks project data but also predicts risks, identifies bottlenecks, recommends actions, and assists project managers with AI-powered decision support.


✨ Current Features

πŸ” Authentication & Security

  • User Registration
  • User Login
  • JWT Session Management
  • Protected Routes
  • Role-Based User Model
  • Secure Password Hashing using Bcrypt
  • Session-Based Project Ownership
  • Production Authentication using NextAuth

Supported Roles

  • ADMIN
  • MANAGER
  • DEVELOPER
  • QA

πŸ“Š Dashboard

Comprehensive executive dashboard displaying:

  • Project Overview
  • Delivery Metrics
  • Budget Status
  • Resource Utilization
  • Team Performance
  • Risk Summary

πŸ“ Project Management

Project CRUD

  • Create Projects
  • View Projects
  • Update Projects
  • Delete Projects

Project Information

  • Name
  • Description
  • Budget
  • Owner
  • Created Date
  • Updated Date

Ownership System

Projects are automatically linked to the authenticated user.


πŸ‘₯ Team Management

Manage project resources and workforce.

Team Member Management

  • Add Team Members
  • Edit Team Members
  • Delete Team Members

Team Information

  • Name
  • Email
  • Role
  • Utilization %

⚠️ Risk Management

Track and manage project risks.

Risk Features

  • Create Risks
  • Update Risks
  • Delete Risks
  • Risk Severity Tracking
  • Mitigation Planning

Severity Levels

  • Low
  • Medium
  • High
  • Critical

πŸ€– AI Insights Module

SprintX includes an AI intelligence section that provides project-level predictions.

Current AI Features

Project Health Score

Calculated using:

  • Sprint Velocity
  • Resource Utilization
  • Budget Consumption

Risk Prediction

Automatically estimates:

  • High Risk
  • Low Risk

Schedule Prediction

Detects:

  • On Track
  • Potential Delay

Budget Prediction

Detects:

  • Budget Safe
  • Overrun Risk

πŸ“ˆ Executive Recommendations

AI-generated recommendations including:

  • Resource Allocation Suggestions
  • QA Capacity Recommendations
  • Delivery Improvement Suggestions
  • Cost Optimization Recommendations

🎨 User Experience

Modern UI

  • Responsive Layout
  • Mobile Navigation
  • Dark Mode
  • Light Mode
  • Professional Dashboard Design

Components

  • Dynamic Sidebar
  • Navbar
  • Theme Toggle
  • User Profile Menu
  • Notifications UI

πŸ› οΈ Tech Stack

Frontend

  • Next.js 16
  • React 19
  • TypeScript
  • Tailwind CSS
  • ShadCN UI
  • Lucide Icons
  • Framer Motion

Backend

  • Next.js API Routes
  • Prisma ORM
  • PostgreSQL

Authentication

  • NextAuth
  • JWT Strategy
  • Bcrypt

Database

  • Neon PostgreSQL

Deployment

  • Vercel

πŸ—„οΈ Database Schema

User

  • id
  • name
  • email
  • password
  • role

Project

  • id
  • name
  • description
  • budget
  • ownerId

TeamMember

  • id
  • name
  • email
  • role
  • utilization

Risk

  • id
  • title
  • severity
  • mitigation
  • projectId

Task

  • id
  • title
  • status
  • projectId

πŸ”’ Security Features

Implemented

  • Password Hashing
  • Session Authentication
  • Protected Routes
  • Owner-Based Project Creation
  • Prisma Validation
  • Environment Variable Protection

Planned

  • Role-Based Route Protection
  • API Authorization Middleware
  • Audit Logging
  • Rate Limiting
  • MFA Authentication

πŸš€ Deployment Architecture

Frontend:

  • Vercel

Backend:

  • Next.js API Routes

Database:

  • Neon PostgreSQL

ORM:

  • Prisma

Authentication:

  • NextAuth

πŸ—οΈ System Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚      Client Browser     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
            β”‚
            β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚      Next.js Frontend   β”‚
β”‚  (React + TypeScript)   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
            β”‚
            β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚     API Route Layer     β”‚
β”‚     Next.js Backend     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
            β”‚
            β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚       Prisma ORM        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
            β”‚
            β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    Neon PostgreSQL      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ”Œ API Architecture

SprintX follows a REST-based API architecture using Next.js Route Handlers.

All APIs are implemented inside:

src/app/api

πŸ” Authentication APIs

Register User

POST /api/auth/register

Request

{
  "name": "Aryan",
  "email": "aryan@example.com",
  "password": "password123"
}

Response

{
  "success": true,
  "user": {
    "id": "user-id",
    "name": "Aryan",
    "email": "aryan@example.com"
  }
}

Login

Managed by NextAuth Credentials Provider

POST /api/auth/callback/credentials

Authentication strategy:

JWT Session Authentication

Session

GET /api/auth/session

Returns current authenticated user.


πŸ“ Project APIs

Base Route:

/api/projects

Get All Projects

GET /api/projects

Response

[
  {
    "id": "project-id",
    "name": "SprintX",
    "budget": 50000
  }
]

Create Project

POST /api/projects

Request

{
  "name": "SprintX",
  "description": "Project Dashboard",
  "budget": 50000
}

Security

Owner ID is automatically assigned from:

Authenticated Session User

Update Project

PUT /api/projects/{id}

Request

{
  "name": "Updated Name",
  "description": "Updated Description",
  "budget": 60000
}

Delete Project

DELETE /api/projects/{id}

πŸ‘₯ Team APIs

Base Route

/api/team

Get Team Members

GET /api/team

Create Team Member

POST /api/team

Request

{
  "name": "John Doe",
  "email": "john@example.com",
  "role": "Developer",
  "utilization": 85
}

Update Team Member

PUT /api/team/{id}

Delete Team Member

DELETE /api/team/{id}

⚠️ Risk APIs

Base Route

/api/risks

Get Risks

GET /api/risks

Create Risk

POST /api/risks

Request

{
  "title": "Production Outage",
  "severity": "High",
  "mitigation": "Implement Monitoring"
}

Update Risk

PUT /api/risks/{id}

Delete Risk

DELETE /api/risks/{id}

πŸ€– AI APIs (Planned)

Future API endpoints:

AI Project Health

POST /api/ai/project-health

Returns:

{
  "healthScore": 84,
  "riskLevel": "Low"
}

AI Risk Prediction

POST /api/ai/risk-prediction

Predicts future project risks.


AI Executive Summary

POST /api/ai/executive-summary

Generates project-level executive reports.


AI Sprint Forecasting

POST /api/ai/forecast

Predicts:

  • Sprint Completion
  • Budget Utilization
  • Resource Requirements

πŸ”’ Security Architecture

Authentication Flow

User Login
    β”‚
    β–Ό
NextAuth Credentials
    β”‚
    β–Ό
Bcrypt Password Validation
    β”‚
    β–Ό
JWT Token Generation
    β”‚
    β–Ό
Session Creation
    β”‚
    β–Ό
Protected Routes Access

πŸ“¦ Request Lifecycle

Frontend Request
       β”‚
       β–Ό
API Route
       β”‚
       β–Ό
Authentication Check
       β”‚
       β–Ό
Prisma ORM
       β”‚
       β–Ό
PostgreSQL Database
       β”‚
       β–Ό
JSON Response
       β”‚
       β–Ό
Frontend UI Update

πŸ—ΊοΈ Roadmap

Phase 1 β€” Core Platform βœ…

  • Authentication
  • Dashboard
  • Projects
  • Team Management
  • Risk Management
  • AI Insights
  • Deployment

Status: Completed


Phase 2 β€” Project Execution 🚧

Tasks Module

  • Task Creation
  • Task Assignment
  • Sprint Boards
  • Status Tracking
  • Burndown Metrics

Resource Planning

  • Capacity Planning
  • Resource Forecasting
  • Allocation Dashboard

Phase 3 β€” Advanced Analytics πŸ“ˆ

Reporting

  • Executive Reports
  • Portfolio Dashboards
  • KPI Tracking

Forecasting

  • Budget Forecasting
  • Schedule Forecasting
  • Resource Forecasting

Phase 4 β€” AI Intelligence πŸ€–

OpenAI Integration

  • Project Assistant
  • Risk Analysis
  • Project Summaries
  • Executive Briefings

AI Agents

  • Scrum Master Agent
  • Project Manager Agent
  • Risk Management Agent
  • Reporting Agent

Phase 5 β€” Enterprise Features 🏒

Collaboration

  • Comments
  • Activity Feed
  • Notifications
  • Mentions

Integrations

  • Jira
  • GitHub
  • GitLab
  • Slack
  • Microsoft Teams

Phase 6 β€” DevOps & Delivery πŸš€

CI/CD Dashboard

  • Build Tracking
  • Deployment Metrics
  • Release Health

Cloud Monitoring

  • AWS Metrics
  • Azure Metrics
  • Kubernetes Monitoring

πŸ“‹ Future AI Features

Predictive Risk Engine

Predict project failures before they occur.

Intelligent Resource Allocation

Recommend optimal team assignments.

Cost Optimization Engine

Identify budget waste automatically.

Delivery Prediction Model

Forecast release dates using historical data.

AI Executive Assistant

Generate executive summaries and project reports automatically.


πŸ‘¨β€πŸ’» Author

Aryan Jaiswal

Software Developer | Backend Engineer | AI & DevOps Enthusiast

GitHub: https://github.com/WiZzArD07


⭐ Project Status

Current Version: MVP v1.0

Status: Active Development

Next Milestone: Task Management + Advanced AI Integration

About

Modern AI-powered project management platform featuring authentication, project tracking, risk management, team collaboration, analytics, and executive insights.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages