- Overview
- Technology Stack
- Project Structure
- Features
- Getting Started
- Authentication
- User Roles
- Training Modules
- Development Guide
- Production Deployment
- Testing
- Troubleshooting
The Smart Coach Onboarding and Training Platform is a comprehensive web application designed to onboard and train educational coaches for the Ivylevel coaching program. The platform features a progressive training system with interactive modules, resource management, and role-based access control.
- 🔐 Secure authentication system (Firebase-ready)
- 👥 Role-based dashboards (Admin & Coach)
- 📚 5-module progressive training program
- 📊 Real-time progress tracking
- 🎯 Personalized resource hub
- ⏱️ 48-hour training deadline enforcement
- 📱 Fully responsive design
- React 19.1.0 - Latest React with concurrent features
- React DOM 19.1.0 - DOM-specific methods for React
- Tailwind CSS 3.4.17 - Utility-first CSS framework
- PostCSS 8.5.3 - CSS transformation tool
- Autoprefixer 10.4.21 - Automatic CSS vendor prefixing
- Firebase 11.8.1 - Authentication, database, and hosting
- Currently using mock implementation
- Ready for Firebase integration
- Lucide React 0.511.0 - Icon library
- Custom SVG icon components
- Jest - JavaScript testing framework
- React Testing Library 16.3.0 - React component testing
- Testing Library DOM 10.4.0 - DOM testing utilities
- Testing Library Jest DOM 6.6.3 - Custom Jest matchers
- React Scripts 5.0.1 - Create React App configuration
ivylevel-coach-training/
├── public/ # Static assets
│ ├── index.html # Main HTML template
│ ├── manifest.json # PWA manifest
│ ├── favicon.ico # Site favicon
│ └── logo*.png # PWA icons
│
├── src/ # Source code
│ ├── App.js # Main application component
│ ├── SmartResourceHub.js # Resource management component
│ ├── index.js # React entry point
│ ├── index.css # Global styles
│ ├── App.css # App-specific styles
│ ├── input.css # Tailwind input file
│ └── [various backups] # Version history files
│
├── logo/ # Brand assets
│ ├── *.svg # SVG logos
│ └── *.jpg # Image assets
│
├── build/ # Production build (generated)
├── dist/ # Tailwind output
│ └── output.css # Compiled CSS
│
├── package.json # Dependencies and scripts
├── tailwind.config.js # Tailwind configuration
├── postcss.config.js # PostCSS configuration
└── .gitignore # Git ignore rules
- Mock Firebase authentication implementation
- Login/logout functionality with session persistence
- Password visibility toggle
- Error handling and loading states
- Test credentials for easy development
-
Coach Management
- Create new coach accounts
- View all coaches in a comprehensive table
- Track training progress and deadlines
- Monitor certification status
-
Resource Sharing
- Share Google Drive resources
- View-only permissions enforcement
- Track shared resources per coach
-
Analytics
- Total coaches count
- Active training tracking
- Certification metrics
- Progressive training flow
- Visual progress indicators
- Time tracking and deadlines
- Module completion tracking
- Personal impact visualization
- Earning potential display ($25,000/year)
- Bonus structure explanation
- Commitment agreement
- 48-hour deadline warning
- Interactive student profile review
- Smart Resource Hub integration
- Comprehension assessment (80% pass rate)
- Personalized learning resources
- Professional email configuration
- Zoom setup verification
- Payment account setup (Mercury)
- Technical readiness checklist
- 60-minute coaching simulation
- 4 scenario management exercises
- Response evaluation system
- 85% minimum score requirement
- Coach commitment pledge
- Emergency protocol testing
- First session scheduling
- Certificate generation
- Personalized game plans
- Training video library
- Similar student success stories
- Session tools and templates
- Progress tracking
- Node.js 14+ and npm 6+
- Git for version control
- Modern web browser (Chrome, Firefox, Safari, Edge)
-
Clone the repository
git clone <repository-url> cd ivylevel-coach-training
-
Install dependencies
npm install
-
Start development server
npm start
The app will open at http://localhost:3000
npm start- Runs the development servernpm build- Creates production build in/buildnpm test- Runs the test suitenpm run eject- Ejects from Create React App (irreversible)
Admin Account:
- Email: admin@ivylevel.com
- Password: admin123
Coach Account:
- Email: coach@ivylevel.com
- Password: coach123
The application is prepared for Firebase integration. To connect Firebase:
- Create a Firebase project
- Add Firebase configuration to environment variables
- Update the mock auth functions in App.js
- Enable Authentication and Firestore in Firebase Console
- Full platform access
- Coach account management
- Resource sharing capabilities
- Analytics and reporting
- Training oversight
- Access to training modules
- Personal dashboard
- Resource hub access
- Progress tracking
- Certificate generation
- Modules must be completed sequentially
- Minimum scores required to progress
- Progress is saved automatically
- 48-hour deadline from start
- Module 2 Quiz: 80% minimum
- Module 4 Simulation: 85% minimum
- Module 5 Emergency Protocols: 100% required
- React functional components with hooks
- Inline styles for component isolation
- Consistent color scheme (#FF4A23 primary)
- Mobile-first responsive design
- React Context for authentication
- Local state with useState hooks
- Mock database in memory
- Progress tracking per user
- Create feature branch
- Implement with existing patterns
- Test thoroughly
- Update documentation
- Create pull request
npm run buildThis creates an optimized production build in the /build folder.
npm install -g firebase-tools
firebase init hosting
firebase deploy- Connect GitHub repository
- Set build command:
npm run build - Set publish directory:
build
npm install -g vercel
vercelCreate .env.local for local development:
REACT_APP_FIREBASE_API_KEY=your-api-key
REACT_APP_FIREBASE_AUTH_DOMAIN=your-auth-domain
REACT_APP_FIREBASE_PROJECT_ID=your-project-idnpm testnpm test -- --coverage- Use React Testing Library
- Test user interactions
- Mock external dependencies
- Focus on behavior, not implementation
-
Build fails with Tailwind errors
- Ensure PostCSS config is correct
- Check Tailwind config file
- Clear node_modules and reinstall
-
Authentication not working
- Verify test credentials
- Check console for errors
- Ensure mock auth is enabled
-
Styles not applying
- Check Tailwind classes
- Verify CSS imports
- Clear browser cache
-
Module progression blocked
- Check minimum score requirements
- Verify previous modules completed
- Review console for errors
Add to URL: ?debug=true to enable verbose logging
For issues or questions:
- Check existing documentation
- Review code comments
- Contact development team
-
Firebase Integration
- Real authentication
- Cloud Firestore database
- Real-time updates
- File storage
-
Additional Features
- Video recording integration
- Live Zoom API integration
- Automated certificate generation
- Email notifications
-
Analytics
- Training completion rates
- Performance metrics
- User engagement tracking
- Success rate analysis
-
Mobile App
- React Native version
- Offline capability
- Push notifications
- Native features
Version: 0.1.0
Last Updated: December 2024
Maintained by: Ivylevel Development Team