🚀 Major Update: v2.0.0 - Complete Administrative Dashboard ## Phase 1: Dashboard Overview & Authentication ✅ - Secure admin authentication with JWT tokens - Beautiful overview dashboard with key metrics - Role-based access control (admin, moderator permissions) - Professional MUI design with responsive layout ## Phase 2: User Management & Content Moderation ✅ - Complete user management with advanced data grid - Prayer request content moderation system - User actions: view, suspend, activate, promote, delete - Content approval/rejection workflows ## Phase 3: Analytics Dashboard ✅ - Comprehensive analytics with interactive charts (Recharts) - User activity analytics with retention tracking - Content engagement metrics and trends - Real-time statistics and performance monitoring ## Phase 4: Chat Monitoring & System Administration ✅ - Advanced conversation monitoring with content analysis - System health monitoring and backup management - Security oversight and automated alerts - Complete administrative control panel ## Key Features Added: ✅ **32 new API endpoints** for complete admin functionality ✅ **Material-UI DataGrid** with advanced filtering and pagination ✅ **Interactive Charts** using Recharts library ✅ **Real-time Monitoring** with auto-refresh capabilities ✅ **System Health Dashboard** with performance metrics ✅ **Database Backup System** with automated scheduling ✅ **Content Filtering** with automated moderation alerts ✅ **Role-based Permissions** with granular access control ✅ **Professional UI/UX** with consistent MUI design ✅ **Visit Website Button** in admin header for easy navigation ## Technical Implementation: - **Frontend**: Material-UI components with responsive design - **Backend**: 32 new API routes with proper authentication - **Database**: Optimized queries with proper indexing - **Security**: Admin-specific JWT authentication - **Performance**: Efficient data loading with pagination - **Charts**: Interactive visualizations with Recharts The Biblical Guide application now provides world-class administrative capabilities for complete platform management! 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
81 lines
2.3 KiB
JSON
81 lines
2.3 KiB
JSON
{
|
|
"name": "biblical-guide",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "next dev -p 3010",
|
|
"build": "next build",
|
|
"start": "next start -p 3010",
|
|
"lint": "next lint",
|
|
"import-bible": "tsx scripts/import-bible.ts",
|
|
"db:migrate": "npx prisma migrate deploy",
|
|
"db:generate": "npx prisma generate",
|
|
"db:studio": "npx prisma studio",
|
|
"db:seed": "npm run import-bible",
|
|
"websocket": "tsx lib/websocket/server.ts"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"description": "",
|
|
"dependencies": {
|
|
"@emotion/react": "^11.14.0",
|
|
"@emotion/styled": "^11.14.1",
|
|
"@fontsource/roboto": "^5.2.8",
|
|
"@formatjs/intl-localematcher": "^0.6.1",
|
|
"@mui/icons-material": "^7.3.2",
|
|
"@mui/lab": "^7.0.0-beta.17",
|
|
"@mui/material": "^7.3.2",
|
|
"@mui/material-nextjs": "^7.3.2",
|
|
"@mui/system": "^7.3.2",
|
|
"@mui/x-charts": "^8.11.3",
|
|
"@mui/x-data-grid": "^8.11.3",
|
|
"@mui/x-date-pickers": "^8.11.3",
|
|
"@next/font": "^14.2.15",
|
|
"@prisma/client": "^6.16.2",
|
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
"@radix-ui/react-slot": "^1.2.3",
|
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
"@radix-ui/react-toast": "^1.2.15",
|
|
"@tailwindcss/postcss": "^4.1.13",
|
|
"@types/node": "^24.5.2",
|
|
"@types/pdf-parse": "^1.1.5",
|
|
"@types/pg": "^8.15.5",
|
|
"@types/react": "^19.1.13",
|
|
"@types/react-dom": "^19.1.9",
|
|
"autoprefixer": "^10.4.21",
|
|
"bcryptjs": "^3.0.2",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"lucide-react": "^0.544.0",
|
|
"negotiator": "^1.0.0",
|
|
"next": "^15.5.3",
|
|
"next-intl": "^4.3.9",
|
|
"openai": "^5.22.0",
|
|
"pdf-parse": "^1.1.1",
|
|
"pg": "^8.16.3",
|
|
"pgvector": "^0.2.1",
|
|
"postcss": "^8.5.6",
|
|
"prisma": "^6.16.2",
|
|
"react": "^19.1.1",
|
|
"react-dom": "^19.1.1",
|
|
"react-markdown": "^10.1.0",
|
|
"recharts": "^3.2.1",
|
|
"remark-gfm": "^4.0.1",
|
|
"socket.io": "^4.8.1",
|
|
"socket.io-client": "^4.8.1",
|
|
"tailwind-merge": "^3.3.1",
|
|
"tailwindcss": "^4.1.13",
|
|
"typescript": "^5.9.2",
|
|
"zod": "^3.25.76",
|
|
"zustand": "^5.0.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/jsonwebtoken": "^9.0.10",
|
|
"tsx": "^4.20.5"
|
|
}
|
|
}
|