A full-stack MERN web application for managing sports activities including teams, players, coaches, matches, bookings, and AI-powered features.
🔗 Frontend: smart-sports-project.vercel.app
🔗 Backend API: sports-backend-u3ci.onrender.com
| Layer | Technology |
|---|---|
| Frontend | React.js (Vite) |
| Backend | Node.js + Express.js |
| Database | MongoDB Atlas |
| Authentication | JWT |
| File Upload | Cloudinary |
| AI Features | Google Gemini API |
| Real-time Chat | Socket.io |
| Deployment | Vercel (Frontend) + Render (Backend) |
- Register & Login
- View Sports, Teams, Matches
- Book match seats
- AI Sport Suggestion
- AI Chatbot
- Contact form
- Register as Coach
- Manage Teams & Players
- Apply for Matches
- Real-time Chat with Admin
- View Announcements
- Full Dashboard with statistics
- Manage Users, Coaches, Players
- Add/Update Sports, Teams, Matches
- Manage Bookings & Match Applications
- Post Announcements
- AI Attendance Prediction
Smart-Sports-Project/
├── frontend/ # React.js (Vite) application
│ ├── src/
│ │ ├── components/
│ │ │ ├── admin/
│ │ │ ├── coach/
│ │ │ ├── user/
│ │ │ ├── auth/
│ │ │ ├── pages/
│ │ │ └── layouts/
│ │ └── services/
│ │ ├── ApiService.js
│ │ └── socketService.js
│ └── ...
└── backend/ # Node.js + Express application
├── index.js
└── server/
├── apis/
│ ├── User/
│ ├── Coach/
│ ├── Player/
│ ├── Team/
│ ├── Sport/
│ ├── Match/
│ ├── Booking/
│ ├── Announcement/
│ ├── Chat/
│ └── AI/
├── routes/
├── middleware/
└── config/
- Node.js
- MongoDB (local or Atlas)
- Git
cd backend
npm installCreate .env file in backend folder:
MONGO_URI=your_mongodb_connection_string
GEMINI_API_KEY=your_gemini_api_key
CLOUDINARY_CLOUD_NAME=your_cloudinary_name
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_API_SECRET=your_cloudinary_api_secretnode index.jscd frontend
npm installCreate .env file in frontend folder:
VITE_API_URL=http://localhost:5001npm run devAlok — Full Stack Developer
GitHub: @alok5824
This project is open source and available under the MIT License.