The Turf Booking System is a software application designed to streamline the process of booking turf fields for various sports activities. Whether it's a casual game among friends or a professional training session, this system provides a user-friendly interface for both administrators and users to manage bookings efficiently.
- React(for frontend)
- Spring Boot(for backend)
- User Registration and Authentication
- Turf Booking
- Admin Panel
- Prerequisites:
- Node.js
- Java Development Kit (JDK)
- MySQL database
- Backend Setup (Spring Boot):
- Clone the Spring Boot backend repository.
- Configure database settings in application.properties.
- Build and run the Spring Boot application.
- Frontend Setup (React):
- Clone the React frontend repository.
- Install dependencies using npm install.
- Start the React development server using npm run dev
- Database Setup:
- Create a MySQL database and import the provided SQL schema.
- Update database connection details in Spring Boot's application.properties file.
- User:
- Register/Login to the system through the React frontend.
- Browse available turf slots, select desired slots, and proceed with the booking process.
- Admin:
- Log in to the admin panel provided by the React frontend.
- Manage turf slots, including adding/editing/deleting slots.
- View booking history, customers, and other relevant data.
- Verify or Cancel Booking