BoxPlay is a ground booking system where users can book and manage ground slots for sports activities inside the nets.
- User Registration & Authentication (Email verification, OTP, password reset)
- Ground Booking Management (View available slots, book, cancel, feedback)
- Shop & Sports Management (Add, update, and manage sports facilities)
- Revenue Tracking (Track shop revenue and transactions)
- Admin & User Roles (Admins can verify shops, manage bookings)
- Node.js (Latest LTS Version)
- MongoDB (Database for storing user, shop, and booking data)
-
Clone the Repository
git clone https://github.com/RamDheeraj6124/BoxPlay.git
-
Frontend Setup
cd BoxPlay/my-react-app npm install npm start -
Backend Setup
cd BoxPlay/backend npm install npm start
|BoxPlay/
│ ├── my-react-app/ # Frontend React application
│ ├── backend/ # Backend API (Node.js + Express)
│ ├── config/ # Configuration files
│ ├── controllers/ # Business logic for handling requests
│ ├── models/ # MongoDB Models
│ ├── node_modules/ # Node.js dependencies
│ ├── public/ # Public assets
│ ├── routes/ # Express API Routes
│── README.md # Documentation| Method | Endpoint | Description |
|---|---|---|
| POST | /api/auth/register |
Register a new user |
| POST | /api/auth/login |
Login user |
| GET | /api/user/profile |
Get user profile |
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/booking/available |
Get available slots |
| POST | /api/booking/create |
Book a ground slot |
| DELETE | /api/booking/cancel/:id |
Cancel booking |
- Sign Up/Login to the system.
- Browse available grounds and sports.
- Book a Slot for your preferred time.
- Provide Feedback after playing.
- Admin Role: Manage shops, bookings, and revenue.
Group ID: 38
Project Members:
- K. Chandrasekhar (S20220010119)
- K. Ram Dheeraj (S20220010120)
- M. Sai Rohith (S20220010130)
- O. Uday Kiran (S20220010155)
- P. Jaswanth (S20220010168)