A scalable, serverless ticket booking platform with integrated payments
This project is a serverless online ticketing system designed to provide a seamless booking experience for multiple transport modes and events.
The application is built entirely using PHP, deployed in a serverless environment using Google Cloud Run, and integrates a secure Cashfree payment gateway.
A MySQL database handles persistent data storage, while Docker ensures consistent runtime environments and simplified deployments.
- Serverless Architecture using Google Cloud Run
- Secure Payment Integration with Cashfree
- Multi-Booking Support for buses, trains, flights, and events
- Admin Panel for managing users, bookings, and payments
- Responsive UI across desktop and mobile devices
- Dockerized Deployment for portability and consistency
| Frontend & Backend | PHP |
| Database | MySQL |
| Payment Gateway | Cashfree |
| Cloud Platform | Google Cloud Run |
| Containerization | Docker |
serverless-ticketing-system/ ├── app/ ├── config/ ├── public/ ├── admin/ ├── Dockerfile ├── database.sql └── README.md
- Docker installed
- MySQL database configured
- Google Cloud account with Cloud Run enabled
git clone <repository-url> cd <project-directory> docker build -t ticketing-system . docker run -p 8080:8080 ticketing-system
The application will be available at:
http://localhost:8080
- Push Docker image to Google Container Registry (GCR)
- Deploy the image to Google Cloud Run
- Access the app using the Cloud Run service URL
Cloud Run automatically handles scaling and infrastructure management.
- Browse available transport and event bookings
- Complete secure transactions via Cashfree
- Admins can manage bookings, users, and payments
Contributions are welcome.
git fork git checkout -b feature-name git commit -m "Add new feature" git push origin feature-name
Submit a pull request with a clear description of the changes.
Vishal Soni
Cloud & DevOps Engineer
Email: vishalsoni6350@gmail.com
⭐ If you find this project useful, consider starring the repository.