Spirit11 is an engaging and competitive fantasy cricket league developed for the MoraSpirit platform. It allows users to build dream teams using real university players, analyze statistics, and compete for the top spot on the leaderboard.
- Player Drafting: Select university players to form your ultimate cricket team.
- Statistical Insights: Analyze player performance and make informed decisions.
- Budget Management: Strategize within a budget to create a balanced squad.
- Leaderboard Competition: Compete with others for the top rank.
- AI-Powered Chatbot: The Spiriter Chatbot provides smart recommendations for team selection.
Do you have what it takes to dominate the leaderboard? 🚀
Before running the project, create a .env file in the server directory and add the following environment variables:
MONGODB_URI=YOUR_MONGODB_URI
JWT_SECRET=YOUR_JWT_SECRET
PASSWORD_HASH_SALT=YOUR_PASSWORD_HASH_SALT
PORT=5000
ORIGIN_URL=YOUR_ORIGIN_URL
GEMINI_API_KEY = Your_API_KEY
- Navigate to the server folder:\
cd server- Install dependencies:\
npm install- Start the backend server:\
npm start- Navigate to the frontend folder:\
cd client- Install dependencies:\
npm install- Start the frontend development server:\
npm run dev