Skip to content

nilukush/prism-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRISM - AI-Powered Product Management Platform

License: MIT Python Next.js FastAPI Docker

🚀 Overview

PRISM is an enterprise-grade, AI-powered product management platform that revolutionizes how teams build products. By leveraging advanced AI capabilities, PRISM automates routine PM tasks, provides intelligent insights, and accelerates the product development lifecycle.

Key Features

  • 🤖 AI-Powered PRD Generation: Generate comprehensive Product Requirements Documents using Claude 3 Sonnet
  • 📝 Intelligent User Story Creation: Convert requirements into detailed user stories with acceptance criteria
  • 📊 Sprint Planning & Analytics: AI-driven sprint estimation and velocity analysis
  • 🔄 Real-time Collaboration: Team workspaces with role-based access control
  • 🔐 Enterprise Security: JWT authentication, session persistence, and audit logging
  • 🎯 Multi-Provider AI Support: OpenAI, Anthropic, and local models via Ollama
  • 📈 Predictive Analytics: Forecast sprint completion and identify bottlenecks

🏗️ Architecture

┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐
│   Next.js 14    │────▶│   FastAPI       │────▶│  PostgreSQL     │
│   Frontend      │     │   Backend       │     │   Database      │
└─────────────────┘     └─────────────────┘     └─────────────────┘
                               │                          │
                               ├──────────────────────────┤
                               ▼                          ▼
                        ┌─────────────┐           ┌─────────────┐
                        │    Redis    │           │   Qdrant    │
                        │    Cache    │           │ Vector Store│
                        └─────────────┘           └─────────────┘

🚀 Quick Start

Prerequisites

  • Docker and Docker Compose
  • Node.js 18+ (for frontend development)
  • Python 3.11+ (for backend development)
  • 4GB+ RAM recommended

1. Clone the Repository

git clone https://github.com/nilukush/prism-core.git
cd prism-core

2. Configure Environment

# Copy environment templates
cp .env.example .env
cp frontend/.env.example frontend/.env.local

# Configure AI provider (optional - uses mock by default)
./configure_ai.sh

3. Start the Application

# Build and start all services
docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d

# Start frontend development server
cd frontend
npm install
npm run dev

4. Access the Application

Default Test Account

For development purposes, a test account is created:

Email: admin@example.com
Password: Admin123!@#

Note: Change these credentials immediately in production.

📚 Documentation

🛠️ Technology Stack

Backend

  • Framework: FastAPI with async/await
  • Database: PostgreSQL 16 with SQLAlchemy
  • Cache: Redis 7 for sessions and rate limiting
  • AI Integration: Multi-provider support (OpenAI, Anthropic, Ollama)
  • Task Queue: Celery with Redis broker
  • Security: JWT auth, rate limiting, DDoS protection

Frontend

  • Framework: Next.js 14 with App Router
  • UI Library: shadcn/ui with Tailwind CSS
  • State Management: React Context + Hooks
  • Authentication: NextAuth.js
  • Forms: React Hook Form with Zod validation

Infrastructure

  • Containerization: Docker with multi-stage builds
  • Orchestration: Kubernetes-ready with Helm charts
  • CI/CD: GitHub Actions with security scanning
  • Monitoring: Prometheus metrics + OpenTelemetry

🔒 Security Features

  • Authentication: JWT tokens with refresh rotation
  • Session Management: Redis-backed persistent sessions
  • Rate Limiting: Token bucket algorithm per endpoint
  • DDoS Protection: 6-layer defense system
  • Input Validation: Comprehensive sanitization
  • Audit Logging: Complete activity tracking

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Setup

# Backend development
cd backend
python -m venv venv
source venv/bin/activate  # or `venv\Scripts\activate` on Windows
pip install -r requirements.txt
uvicorn src.main:app --reload

# Frontend development
cd frontend
npm install
npm run dev

Running Tests

# Backend tests
cd backend
pytest

# Frontend tests
cd frontend
npm test
npm run test:e2e

📊 Project Status

  • ✅ Core product management features
  • ✅ AI integration (PRD, user stories)
  • ✅ Authentication & authorization
  • ✅ Real-time collaboration
  • 🚧 Advanced analytics dashboard
  • 🚧 Mobile application
  • 📋 Plugin marketplace

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

🚀 Deployment Options

Free Tier (Perfect for Startups & MVPs)

Deploy PRISM completely free using:

  • Backend: Render.com (Free Web Service)
  • Frontend: Vercel (Free Hobby Plan)
  • Database: Neon (3GB Free PostgreSQL)
  • Cache: Upstash (Free Redis)
# Quick deployment script
./scripts/deploy-to-free-tier.sh

See Free Tier Deployment Guide for detailed instructions.

Production Deployment

For production workloads, see our Deployment Guide covering:

  • Docker Compose deployment
  • Kubernetes with Helm charts
  • Cloud providers (AWS, GCP, Azure)
  • SSL/TLS configuration
  • Monitoring and scaling

📞 Support

🌟 Star History

Star History Chart


Made with ❤️ by the PRISM Team