A comprehensive cricket management system built with React frontend and Node.js/Express backend.
- User Authentication (Login/Registration)
- Team Management (Add, Edit, View teams)
- Player Management (Add, Edit, View players)
- Match Management (Schedule, Track matches)
- Tournament Management (Create tournaments with multiple matches)
- Responsive Design
- React 18
- React Router
- Axios
- Tailwind CSS
- Node.js
- Express.js
- MongoDB with Mongoose
- JWT Authentication
- bcryptjs
cricket-management-system/
├── frontend/ # React application
├── backend/ # Express API server
└── README.md
- Node.js (v16 or higher)
- MongoDB (local or MongoDB Atlas)
- Clone the repository
git clone https://github.com/krtn2902/Cricket-Management-System.git
- Install backend dependencies:
cd backend npm install - Install frontend dependencies:
cd frontend npm install
-
Start the backend server:
cd backend npm start -
Start the frontend development server:
cd frontend npm start
The frontend will be available at http://localhost:3000 and the backend API at http://localhost:5000.
- POST
/api/auth/register- Register new user - POST
/api/auth/login- Login user
- GET
/api/teams- Get all teams - POST
/api/teams- Create new team - PUT
/api/teams/:id- Update team - DELETE
/api/teams/:id- Delete team
- GET
/api/players- Get all players - POST
/api/players- Create new player - PUT
/api/players/:id- Update player - DELETE
/api/players/:id- Delete player
- GET
/api/matches- Get all matches - POST
/api/matches- Create new match - PUT
/api/matches/:id- Update match - DELETE
/api/matches/:id- Delete match
- GET
/api/tournaments- Get all tournaments - POST
/api/tournaments- Create new tournament - PUT
/api/tournaments/:id- Update tournament - DELETE
/api/tournaments/:id- Delete tournament