A comprehensive AI-powered coaching platform built with React, TypeScript, and Firebase. Coach Core AI provides intelligent practice planning, team management, and analytics for sports coaches.
- Smart Practice Generator: AI-driven practice plan creation based on team performance data
- Drill Library: Extensive collection of drills with difficulty ratings and skill focus
- Adaptive Planning: Plans that adjust based on player progress and team needs
- Roster Management: Complete player database with performance tracking
- Attendance Tracking: Automated check-in system with analytics
- Player Profiles: Individual player statistics and progress monitoring
- Interactive Play Designer: Visual play creation with drag-and-drop interface
- Formation Templates: Pre-built formations for various sports
- Route Editor: Custom route creation and editing tools
- Play Library: Organized collection of plays with search and filtering
- Performance Metrics: Real-time team and individual performance tracking
- Progress Analytics: Visual charts and graphs for data analysis
- AI Insights: Intelligent recommendations based on performance data
- Natural Language Interface: Chat with AI for coaching advice and insights
- Practice Suggestions: AI-generated recommendations for drills and exercises
- Performance Analysis: Automated analysis of team and player data
- Frontend: React 18, TypeScript, Tailwind CSS
- Backend: Firebase (Firestore, Authentication, Functions)
- AI/ML: OpenAI GPT-4, Custom AI models
- Deployment: Firebase Hosting, Vercel
- State Management: React Context, Custom hooks
- UI Components: Custom component library with Storybook
src/
โโโ ai-brain/ # AI core functionality
โโโ components/ # Reusable UI components
โโโ contexts/ # React contexts
โโโ features/ # Feature-specific components
โโโ hooks/ # Custom React hooks
โโโ services/ # API and external services
โโโ types/ # TypeScript type definitions
โโโ utils/ # Utility functions
- Node.js 18+
- npm or yarn
- Firebase account
- OpenAI API key
This project requires internet access for initial dependency installation.
The testing environment needs react-scripts and testing libraries to be installed.
See SETUP.md for detailed instructions.
-
Clone the repository
git clone https://github.com/yourusername/coach-core-ai.git cd coach-core-ai -
Install dependencies
npm install
-
Set up environment variables
cp env.production.example .env.local
Edit
.env.localwith your configuration:VITE_FIREBASE_API_KEY=your_firebase_api_key VITE_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com VITE_FIREBASE_PROJECT_ID=your_project_id VITE_OPENAI_API_KEY=your_openai_api_key
-
Set up Firebase
npm install -g firebase-tools firebase login firebase init
-
Start the development server
npm start
- Create a new Firebase project
- Enable Authentication, Firestore, and Functions
- Update
firebase.jsonandfirestore.rulesas needed - Deploy Firebase configuration:
firebase deploy
- Set up OpenAI API key in environment variables
- Configure AI models in
src/ai-brain/core/AIBrain.ts - Test AI functionality with
npm run test:ai
npm start- Start development servernpm build- Build for productionnpm test- Run tests- Ensure you've run
npm installto installreact-scriptsand all other testing dependencies before executing the test suite. npm run deploy- Deploy to Firebasenpm run storybook- Start Storybooknpm run test:ai- Test AI functionality
npm run build
firebase deploynpm run build
vercel --prod- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For support, email support@coachcoreai.com or join our Slack channel.
- Mobile app development
- Advanced AI analytics
- Multi-sport support
- Integration with wearable devices
- Video analysis features
- Social features for coaches
- OpenAI for GPT-4 integration
- Firebase team for the excellent backend services
- React team for the amazing framework
- All contributors and beta testers
Coach Core AI - Empowering coaches with intelligent tools for better team performance.