KickIt is a WebApp designed to connect sports enthusiasts who want to play the same sport offline.Users can select a sport they are interested in playing, and if another user chooses the same sport, an event will be created for them to join and play together. Additionally, the platform provides a chat feature for communication between matched users.
- Sport Selection: Users can select their preferred sport to play.
- Event Creation: If two or more users choose the same sport, an event is created.
- Offline Play: Players can meet offline to play their selected sport.
- Chat System: Allows communication between matched users.
- User Authentication: Secure login and registration system.
- Responsive Design: Works seamlessly across different devices.
KickIt is built using the MERN stack:
- MongoDB: Database to store user information, events, and chat data.
- Express.js: Backend framework to handle API requests.
- React.js: Frontend framework for building a dynamic UI.
- Node.js: Runtime environment for server-side logic.
Ensure you have the following installed:
- Node.js
- MongoDB
- npm or yarn
- Clone the repository:
git clone https://github.com/your-repo/kickit.git cd kickit - Install dependencies:
npm install
- Set up environment variables (create a
.envfile in the root directory):MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret
- Start the backend server:
cd backend npm start - Start the frontend server:
cd frontend npm start - Open the app in your browser at
http://localhost:3000.
POST /api/auth/register- Register a new user.POST /api/auth/login- Login a user.
GET /api/sports- Fetch available sports.POST /api/event/create- Create a new event.GET /api/event- Get active events.
POST /api/chat/send- Send a message.GET /api/chat- Fetch chat history.
- Geolocation Integration: Suggest sports events near the user.
- Push Notifications: Notify users of new matches and messages.
- Ranking System: Introduce leaderboards and achievements.
Feel free to contribute by submitting issues or pull requests on the GitHub repository.
KickIt is an open-source project licensed under the MIT License.