Football Field Booking — Fast & Smart
A complete booking system with admin management, Persian calendar support, and seamless reservation experience — built for Persian-speaking users.
Reserve NowLearn more about features
Features
Field Booking
Users can reserve football fields by selecting date and time slots with an intuitive interface.
Persian Calendar
Full support for Jalali (Persian) calendar system with date conversion utilities built in.
Admin Panel
Complete admin interface for managing bookings, devices, and settings all in one place.
Booking Management
Create, view, and cancel reservations with unique booking codes for easy tracking.
Flexible Scheduling
Configurable operating hours for each day of the week to match your facility's availability.
Conflict Prevention
Automatic validation to prevent double-booking of time slots — no overlaps, ever.
Phone Verification
Booking cancellation requires phone number verification for secure reservation management.
Tech Stack
Backend
Node.js HTTP server handling all API endpoints and business logic.
Frontend
Vanilla JavaScript with full Persian localization and RTL support.
Data Storage
JSON file-based database (data/db.json) for simple, portable data management.
Authentication
Session-based admin login with token management for secure access control.
UI
Responsive CSS with full RTL (right-to-left) support for Persian layouts.
Admin Panel
Complete Management Dashboard
The admin panel gives you full control over bookings, device management, and system settings — all accessible at /admin.html with session-based authentication.
Quick Start
Get the server running in just a few commands:
# Install dependencies (if any)
npm install
# Start the server
npm start
# or
node server.js
The application runs on port 3000 by default. Access the main booking interface at / and the admin panel at /admin.html.
Project Structure
- server.js — Main HTTP server with API endpoints
- public/app.js — Client-side booking application
- public/admin.js — Admin panel functionality
- data/db.json — JSON database for bookings and settings
- public/index.html — Main booking interface
- public/admin.html — Admin management panel
Note: This appears to be a localized booking system designed specifically for Persian-speaking users, with extensive Jalali calendar integration and Persian currency formatting.