This project is a fully functional booking system built with Python (Flask) and MySQL. It features a secure user authentication system, real-time station management, and seamless payment integration. The project also includes an interactive map API integration for enhanced user experience.
- Secure login/signup system
- Admin & user roles with access control
- JWT-based authentication for API security
- Smart time slot management to avoid conflicts
- Real-time availability tracking
- Payment integration with Razorpay
- Booking status updates (cancel, finish)
- Geolocation-based station finder using API integration
- Detailed station information with real-time updates
- Admin-controlled station management
- Profile management with photo upload
- Booking history & statistics
- Interactive map for station selection
- Manage users, stations, and bookings
- Revenue tracking & analytics
- Comprehensive system monitoring
- Proper database connection management
- User-friendly error messages
- Secure exception handling & logging
git clone https://github.com/yourusername/project-name.git
cd project-namepython -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`pip install -r requirements.txtmysql -u root -p
CREATE DATABASE your_database_name;Update .env with:
DATABASE_URL=mysql+pymysql://username:password@localhost/your_database_name
SECRET_KEY=your_secret_key
RAZORPAY_KEY=your_razorpay_key
MAP_API_KEY=your_map_api_keyflask db upgradeflask run- Sign up as a user or log in as an admin.
- Book a station with real-time availability.
- View nearby stations using the interactive map.
- Admin panel to manage users, stations, and bookings.
- Secure payment processing via Razorpay.
- Fork the repository
- Create a new feature branch (
git checkout -b feature-branch) - Commit your changes (
git commit -m 'Add new feature') - Push to your forked repo (
git push origin feature-branch) - Open a pull request
This project is licensed under the MIT License. See the LICENSE file for details.
📩 Email: your-email@example.com
🌍 GitHub: yourusername