Framework: React 18 + Vite 6 + Base44 SDK Status: Active Development
Interact is an enterprise-grade employee engagement platform that transforms workplace culture through gamification, AI-powered personalization, and seamless team activity management. The platform enables organizations to plan activities, implement sophisticated gamification mechanics, track engagement metrics, and foster meaningful team connections.
✨ Key Features:
- 🎮 Gamification Engine - Points, badges, leaderboards, and customizable challenges
- 🤖 AI-Powered Recommendations - Personalized activity suggestions using machine learning
- 📊 Advanced Analytics - Real-time engagement metrics and team insights
- 🔗 15+ Integrations - Google Calendar, Slack, Teams, OpenAI, and more
- 🔒 Enterprise Security - GDPR compliant, SOC 2 ready, zero vulnerabilities
- 📱 Mobile-First Design - Responsive UI with PWA capabilities (roadmap)
- Overview
- Documentation
- Deploying to Vercel
- Quick Start
- Deploy to Vercel
- Project Structure
- Current Features
- Roadmap Highlights
- Contributing
- Quality Metrics
- License
- Resources
📖 Complete Documentation Hub - Central navigation for all documentation
Getting Started:
- Quick Start Guide - Get up and running in 5 minutes
- Development Guide - Local development setup
- Contributing Guidelines - How to contribute
Essential Documentation:
- Product Requirements (PRD) - Product vision and requirements
- Feature Roadmap - 18-month roadmap with 15 features
- API Integration Guide - Base44 SDK integration
- Testing Guide - Testing strategy and best practices
For Developers:
- Usage Examples - Code examples and patterns
- Documentation Guidelines - How to write docs
- Codebase Audit - Technical audit and quality metrics
- FAQ - Frequently asked questions
Operations:
- Deployment Checklist - Pre-deployment verification
- Security Documentation - Security and compliance
- Integrations - Third-party integrations
By Audience:
- Developers: Start with Quick Start → Development Guide → Usage Examples
- Product Managers: Read PRD → Feature Roadmap
- DevOps: Review Deployment Checklist → CI/CD
- Security: Check Security Docs → Codebase Audit
📊 70+ organized documentation files in 11 categories covering architecture, APIs, security, deployment, and more.
- .github/base44-updates.md - Base44 visual canvas integration guide and module architecture
- .github/agents.md - AI agent context log and historical development decisions
Project type: Vercel Web App — React SPA (single-page application) built with Vite.
- Import the repository at vercel.com/new.
- Vercel auto-detects the Vite framework. Confirm the settings:
- Framework Preset: Vite
- Build Command:
npm run build - Output Directory:
dist - Install Command:
npm ci - Node.js Version: 20
- Add the required environment variables (see below), then click Deploy.
Copy .env.example to understand all available variables. The following are required for the app to function:
| Variable | Description |
|---|---|
VITE_BASE44_APP_ID |
Your Base44 application ID |
VITE_BASE44_BACKEND_URL |
Base44 backend server URL (e.g. https://your-backend.base44.app) |
The following are optional but enable specific features:
| Variable | Description |
|---|---|
VITE_BASE44_API_URL |
Base44 API URL (if different from backend URL) |
VITE_COMPANY_ID |
Company identifier |
VITE_ENABLE_ANALYTICS |
Enable analytics (true/false) |
VITE_GOOGLE_ANALYTICS_ID |
Google Analytics measurement ID |
VITE_STRIPE_PUBLISHABLE_KEY |
Stripe publishable key (payments feature) |
Set these in the Vercel dashboard under Settings → Environment Variables, or via the Vercel CLI:
vercel env add VITE_BASE44_APP_ID
vercel env add VITE_BASE44_BACKEND_URLNote: All
VITE_prefixed variables are bundled into the client-side build. Never put secrets inVITE_variables. Backend/serverless function secrets (OpenAI keys, Stripe secret keys, etc.) should be set separately in your Base44 dashboard.
- Node.js 20 (use
.nvmrc— runnvm useif you have nvm) - npm
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run previewnpm run dev- Start development server with hot reloadnpm run build- Build for productionnpm run preview- Preview production build locallynpm run lint- Run ESLintnpm run lint:fix- Fix ESLint issues automaticallynpm test- Run unit testsnpm run test:coverage- Generate test coverage report
Required environment variables (set in Vercel dashboard under Project → Settings → Environment Variables):
| Variable | Description |
|---|---|
VITE_BASE44_APP_ID |
Base44 application identifier |
VITE_BASE44_BACKEND_URL |
Base44 backend service URL |
Copy .env.example to .env.local for local development:
cp .env.example .env.local
# Fill in VITE_BASE44_APP_ID and VITE_BASE44_BACKEND_URLSee docs/operations/VERCEL_AUDIT.md for the full deployment guide and multi-repo Vercel readiness assessment.
Generate comprehensive Product Requirements Documents from feature ideas using AI:
# Simple usage
node scripts/generate-prd.js --idea "Add dark mode to dashboard"
# Interactive mode (recommended)
node scripts/generate-prd.js --interactive
# With full context
node scripts/generate-prd.js \
--idea "Add AI-powered chatbot for customer support" \
--context '{"targetAudience":"All users","businessGoals":"Reduce support costs","timeline":"Q2 2026"}' \
--output PRD-chatbot.md
# From file
node scripts/generate-prd.js --file ideas/feature.txtPRD Generator Features:
- ✅ 13-section comprehensive PRD structure
- ✅ AI-powered content generation (Claude 4 Sonnet)
- ✅ Gherkin-style user stories
- ✅ Technical architecture templates
- ✅ Security & compliance sections
- ✅ CLI and web UI interfaces
Web Interface: Navigate to /prd-generator in the application for a user-friendly form interface.
./scripts/safe-merge-branch.sh <branch-name>- Safely merge a branch into main with automated checks./scripts/cleanup-merged-branches.sh- Clean up branches that have been merged into main
Documentation:
- docs/SAFE_BRANCH_MERGING.md - Complete guide for safe branch merging
- docs/PRE_MERGE_CHECKLIST.md - Checklist template before merging
| Setting | Value |
|---|---|
| Framework Preset | Vite |
| Build Command | npm run build |
| Output Directory | dist |
| Install Command | npm ci |
| Node.js Version | 20.x |
Configure these in your Vercel project's Settings → Environment Variables:
| Variable | Description | Required |
|---|---|---|
VITE_BASE44_APP_ID |
Your Base44 application ID | ✅ Yes |
VITE_BASE44_BACKEND_URL |
Base44 backend URL (e.g. https://api.base44.app) |
✅ Yes |
| Variable | Description |
|---|---|
VITE_GOOGLE_ANALYTICS_ID |
Google Analytics measurement ID |
VITE_STRIPE_PUBLISHABLE_KEY |
Stripe publishable key (payments) |
VITE_ENABLE_ANALYTICS |
Feature flag: enable analytics (true/false) |
VITE_ENABLE_PWA |
Feature flag: enable PWA (true/false) |
VITE_COMPANY_ID |
Company identifier for multi-tenant setups |
Tip: Copy
.env.exampleto.env.localfor local development.
Backend serverless function secrets (OpenAI keys, Cloudinary, etc.) are managed separately in your Base44 dashboard.
The included vercel.json configures a catch-all rewrite so React Router handles all client-side navigation correctly without 404s on page refresh.
interact/
├── src/
│ ├── pages/ # 47 application pages
│ ├── components/ # 42 component categories
│ ├── modules/ # NEW: Modular feature architecture (Base44-compatible)
│ │ └── [feature-name]/
│ │ ├── components/ # Feature-specific components
│ │ ├── hooks/ # Feature-specific hooks
│ │ ├── services/ # Business logic & API integration
│ │ └── utils/ # Helper functions
│ ├── hooks/ # Custom React hooks
│ ├── lib/ # Utilities and libraries
│ ├── api/ # API client configuration
│ └── assets/ # Static assets
├── functions/ # 61 Backend serverless functions
├── public/ # Public static files
└── docs/ # Documentation (audit, PRD, roadmap)
New Feature Pattern (Q1 2026+): All new features should use the modular architecture in src/modules/[feature-name]/. This pattern provides:
- ✅ Base44 Visual Canvas Compatibility - Components with
data-b44-syncattributes - ✅ API Versioning - Service layer with version management
- ✅ Clear Feature Boundaries - Self-contained modules
- ✅ Backward Compatible - Coexists with existing component structure
Example: See src/modules/example-feature/ for a complete reference implementation.
Documentation: Comprehensive guide available in .github/base44-updates.md
Q1 2026 - Security & Compliance Framework (Feature 1) - COMPLETED (Security Fixes):
- ✅ All npm security vulnerabilities resolved (0 vulnerabilities as of January 12, 2026)
- ✅ 3 HIGH severity React Router XSS vulnerabilities fixed (January 9, 2026)
- ✅ Previous 8 security vulnerabilities resolved (December 2025)
- ✅ Comprehensive security documentation created (
docs/security/) - ✅ 60+ technical documentation files in
components/docs/ - ✅ GDPR compliance framework established
- ✅ Incident response procedures documented
Remaining High Priority (P1):
- 2 React Hooks violations requiring fixes
- 0% test coverage - testing infrastructure needed (Feature 2, Q1 2026)
- 100+ ESLint warnings and errors
- No TypeScript adoption (Feature 3, Q2-Q3 2026)
See CODEBASE_AUDIT.md for complete analysis and CHANGELOG.md for recent changes.
- 47 Application Pages covering all aspects of employee engagement
- Activity Management with AI-powered recommendations
- Gamification System with points, badges, and leaderboards
- Analytics & Reporting for engagement insights
- Multi-Role Support (Admin, Facilitator, Team Leader, Participant)
- 15+ Integrations (Google Calendar, Slack, Teams, AI services, etc.)
- Responsive Design with Tailwind CSS and Radix UI
- Base44 Backend with 61 serverless functions
Q1 2026: Security hardening, testing infrastructure, enterprise SSO
Q2 2026: TypeScript migration, AI recommendations, mobile PWA
Q3 2026: Advanced analytics, customizable gamification, wellness integration
Q4 2026: Multi-tenancy, AI content generation, advanced LMS
See FEATURE_ROADMAP.md for complete 18-month roadmap with 15 features.
For GitHub Copilot Agents and Developers:
- Use the Feature-to-PR Template for structured feature development
- Follow Copilot Instructions for coding standards and patterns
- Review agent prompts in .github/prompts for specialized tasks
Please refer to the PRD.md for:
- Technical architecture details
- Development standards
- Integration requirements
- Security guidelines
| Metric | Current | Target (6 months) |
|---|---|---|
| Test Coverage | 0% | 80% |
| Security Score | 100/100 ✅ | 95/100 |
| Security Vulnerabilities | 0 ✅ | 0 |
| Code Quality | 65/100 | 90/100 |
| Documentation | 98/100 ⬆️ | 98/100 |
| Performance | 75/100 | 90/100 |
Recent Improvements (Q4 2025 - Q1 2026):
- Security: All vulnerabilities fixed (January 9, 2026) - Score: 100/100
- Documentation: 85/100 → 98/100 (60+ technical docs added)
See CODEBASE_AUDIT.md Section 14 for scoring methodology.
Copyright © 2024 Krosebrook. All rights reserved.
- Base44 SDK: Documentation
- React: react.dev
- Vite: vitejs.dev
- Tailwind CSS: tailwindcss.com
Last Updated: January 21, 2026 Maintained by: Krosebrook