A professional-grade, custom-built court management system and booking engine designed specifically for the South African 5-a-side football industry.
- Instant Court Bookings: Real-time scheduling that automatically prevents double-booking. Choose from 1hr, 2hr, or 3hr slots.
- Online Payments: Fully integrated Stripe Checkout for fast, secure credit card transactions.
- Guest Reservation: Allow guests to hold their slots and pay on arrival (cash or card) directly at the venue.
- Intelligent AI Integration: Built-in AI support bot powered by Anthropic's Claude to handle user queries about hours, pricing, and bookings.
- Centralized Command: Manage all bookings, cancel appointments, and oversee finances from a secure admin dashboard.
- AI Venue Analytics: Automatically gain insights into peak hours, user engagement, and revenue trends via AI.
- Automated Confirmations: Email confirmations sent via Nodemailer instantly upon successful booking.
- Data-driven CMS: Add, edit, or remove courts, update pricing dynamically, and manage newsletters.
- Modern Interface: Highly interactive UI built with Framer Motion and Tailwind CSS.
- Referral System & Loyalty Points: Dedicated user portal for tracking historical bookings.
- Secure Authentication: Integrated NextAuth.js supporting Google, Facebook, and local password logins.
1. Clone the Repository:
git clone https://github.com/RobynAwesome/Bookit-5s-Arena.git
cd Bookit-5s-Arena2. Install Dependencies:
npm install
# or
yarn install3. Configure Environment Variables:
Rename .env.example to .env.local (create one if missing) and provide your keys:
# Database
MONGODB_URI=your_mongodb_connection_string
# Authentication
NEXTAUTH_SECRET=your_nextauth_secret
NEXTAUTH_URL=http://localhost:3000
GOOGLE_CLIENT_ID=your_google_id
GOOGLE_CLIENT_SECRET=your_google_secret
# Payments
STRIPE_SECRET_KEY=your_stripe_secret
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_pub_key
STRIPE_WEBHOOK_SECRET=your_stripe_webhook_secret
# AI Providers
ANTHROPIC_API_KEY=your_anthropic_key
GROQ_API_KEY=your_groq_key
# Email
GMAIL_USER=your_gmail_address
GMAIL_APP_PASSWORD=your_app_password4. Run the Development Server:
npm run devVisit http://localhost:3000 to see the application running.
We welcome contributions from the community!
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Built with ❤️ by Kholofelo Robyn Rababalela. If you found this project useful or have any questions:
⭐⭐⭐ Don't forget to star this repository! ⭐⭐⭐