KembaliArsip / superapp-leadership / leadership-consulting
superapp-leadership

leadership-consulting

532 file ยท 6.1 MB

Preview langsung dinonaktifkan untuk static export. Buka repo di GitHub untuk melihat halaman HTML asli.

README

๐Ÿš€ Consulting Super App

All-in-One Enterprise Platform for Consulting Business

A comprehensive, production-grade super app that combines knowledge management, client management, project tracking, AI assistance, and team collaboration into one unified platform.

Consulting Super App


๐ŸŒŸ Features Overview

๐Ÿ“š Knowledge Management (ConsultKB)

  • 100+ Consulting Frameworks from McKinsey, BCG, Bain, Deloitte
  • 6-Layer Framework Taxonomy (Strategy โ†’ Domain โ†’ Tools โ†’ Engagement โ†’ Playbooks โ†’ Knowledge)
  • AI-Powered Application - Apply frameworks with Claude AI assistance
  • Smart Search - Full-text search with filters
  • Export - PDF & PPTX generation
  • Personal Notes & Bookmarks

๐Ÿ‘ฅ Client Management (CRM)

  • Client Profiles - Complete client information & history
  • Contact Management - Track all stakeholder contacts
  • Engagement History - Full track record of interactions
  • Document Repository - Centralized client documents
  • Pipeline Management - Track potential deals

๐Ÿ“Š Project Management

  • Project Dashboard - Real-time project overview
  • Timeline & Milestones - Gantt-style planning
  • Task Management - Assign, track, complete
  • Resource Allocation - Team & budget management
  • Time Tracking - Log hours & billable time
  • Budget Tracking - Monitor expenses vs budget

๐Ÿค– AI Consulting Assistant

  • Framework Recommender - AI suggests best frameworks
  • Content Generator - Generate reports, proposals, presentations
  • Analysis Helper - Data analysis & insights
  • Meeting Assistant - Notes, summaries, action items
  • Proposal Writer - Auto-generate consulting proposals

๐Ÿ“ˆ Analytics & Reporting

  • Business Dashboard - KPIs, metrics, trends
  • Project Analytics - Performance, profitability
  • Client Analytics - Revenue, satisfaction, retention
  • Team Performance - Utilization, productivity
  • Custom Reports - Build & export custom reports

๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Team Collaboration

  • Real-time Chat - Team & client communication
  • Video Calls - Integrated video conferencing
  • Document Collaboration - Co-edit in real-time
  • Comments & Reviews - Feedback system
  • Notifications - Stay updated

๐Ÿ“ฑ Mobile & PWA

  • Responsive Design - Works on all devices
  • PWA Support - Install as native app
  • Offline Mode - Work without internet
  • Push Notifications - Never miss updates

๐Ÿ—๏ธ Architecture

consulting-super-app/
โ”œโ”€โ”€ apps/
โ”‚   โ”œโ”€โ”€ web/                    # Main Next.js web application
โ”‚   โ”œโ”€โ”€ mobile/                 # React Native mobile app
โ”‚   โ””โ”€โ”€ api/                    # API Gateway (optional)
โ”œโ”€โ”€ packages/
โ”‚   โ”œโ”€โ”€ ui/                     # Shared UI components
โ”‚   โ”œโ”€โ”€ database/               # Prisma schema & client
โ”‚   โ”œโ”€โ”€ auth/                   # Authentication package
โ”‚   โ”œโ”€โ”€ ai/                     # AI integration package
โ”‚   โ”œโ”€โ”€ utils/                  # Shared utilities
โ”‚   โ””โ”€โ”€ config/                 # Shared configurations
โ””โ”€โ”€ virtus-futura/              # Unified website workspace
    โ””โ”€โ”€ src/
        โ”œโ”€โ”€ app/                # Main routes + /consultkb routes + APIs
        โ””โ”€โ”€ consultkb/          # ConsultKB modules (components/lib/data)

Tech Stack

LayerTechnology
FrontendNext.js 16, React 19, TypeScript
StylingTailwind CSS v4, shadcn/ui
StateZustand, TanStack Query
AnimationFramer Motion
DatabasePostgreSQL (production), SQLite (dev)
ORMPrisma 6
AuthNextAuth.js / Auth.js
AIAnthropic Claude API
Real-timePusher / Socket.io
StorageAWS S3 / Vercel Blob
EmailResend / SendGrid
PaymentsStripe
DeploymentVercel / Docker

๐Ÿš€ Getting Started

Prerequisites

  • Node.js 18+
  • npm or pnpm
  • Git

Installation

# Clone the repository
git clone <repository-url>
cd consulting-super-app

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env.local

# Set up database
npm run db:migrate
npm run db:seed

# Start development server
npm run dev

Open http://localhost:3000

Environment Variables

# Database
DATABASE_URL="postgresql://user:password@localhost:5432/consulting"

# Authentication
NEXTAUTH_SECRET="your-secret-key"
NEXTAUTH_URL="http://localhost:3000"

# AI
ANTHROPIC_API_KEY="your-claude-api-key"

# Storage
AWS_ACCESS_KEY_ID="your-aws-key"
AWS_SECRET_ACCESS_KEY="your-aws-secret"
AWS_REGION="us-east-1"

# Email
RESEND_API_KEY="your-resend-key"

# Payments
STRIPE_SECRET_KEY="your-stripe-key"
STRIPE_WEBHOOK_SECRET="your-webhook-secret"

๐Ÿ“ฆ Available Scripts

npm run dev          # Start all apps in development
npm run build        # Build all apps
npm run start        # Start production server
npm run lint         # Run linter
npm run test         # Run tests
npm run typecheck    # TypeScript type checking
npm run db:migrate   # Run database migrations
npm run db:seed      # Seed database
npm run db:studio    # Open Prisma Studio
npm run clean        # Clean all build artifacts

๐Ÿ—„๏ธ Database Schema

The application uses 12 core models:

  • User - Authentication & profiles
  • Client - Client companies
  • Contact - Client contacts
  • Project - Consulting engagements
  • Task - Project tasks
  • Framework - Consulting frameworks
  • Note - Personal notes
  • Bookmark - Saved items
  • Application - Framework applications
  • Document - Files & documents
  • Conversation - AI conversations
  • Analytics - Metrics & events

๐Ÿค Monorepo Structure

This is a Turborepo monorepo with the following packages:

PackageDescription
@consulting/uiShared React components
@consulting/databasePrisma schema & client
@consulting/authAuthentication utilities
@consulting/aiAI integration (Claude)
@consulting/utilsShared utilities
@consulting/configESLint, TypeScript configs

๐Ÿ“ฑ Apps

Web App (apps/web)

Main Next.js application with all features.

Mobile App (apps/mobile)

React Native app for iOS & Android.


๐Ÿ” Authentication

Supports multiple authentication methods:

  • Email/Password - Traditional login
  • Google OAuth - One-click Google login
  • Microsoft OAuth - Enterprise SSO
  • Magic Link - Passwordless login
  • 2FA - Two-factor authentication

๐ŸŽจ UI Components

Built with shadcn/ui + custom components:

  • 100+ reusable components
  • Dark/Light theme
  • Fully accessible (WCAG 2.1)
  • Responsive by default
  • TypeScript typed

๐Ÿ“Š Analytics

Integrated analytics dashboard:

  • Business Metrics - Revenue, growth, pipeline
  • Project Metrics - On-time, budget, satisfaction
  • Team Metrics - Utilization, performance
  • Client Metrics - Retention, NPS, lifetime value

๐Ÿšข Deployment

Vercel (Recommended)

vercel deploy --prod

Docker

docker build -t consulting-super-app .
docker-compose up -d

Self-Hosted

See Deployment Guide for detailed instructions.


๐Ÿ“– Documentation


๐Ÿงช Testing

# Unit tests
npm run test:unit

# Integration tests
npm run test:integration

# E2E tests
npm run test:e2e

# Coverage
npm run test:coverage

๐Ÿ“„ License

MIT License - see LICENSE for details.


๐Ÿ‘ฅ Contributors

Built with โค๏ธ by the Consulting Super App Team


๐Ÿ™ Acknowledgments

  • Frameworks from McKinsey, BCG, Bain, Deloitte
  • UI components from shadcn/ui
  • Icons from Lucide
  • Analytics from Vercel Analytics

Version: 1.0.0
Last Updated: February 2026

Last updated: Sat Feb 28 15:38:17 WIB 2026

File Utama

  • .gitignore
  • README.md
  • index.html
  • package-lock.json
  • package.json
  • turbo.json