The Online Bus Ticket Booking System is a web application that allows users to search for and book bus tickets online. It provides a convenient platform for users to browse available bus routes, select seats, and make reservations from the comfort of their homes.
- Features
- [TechnologiesUsed](#Technologies used)
- Contacts Info
- Getting started
- Prerequisites
- Installation
- Configuration
- Setup
- Usage
- Contribution
- License
- User registration and login
- Search for bus routes by origin and destination
- View available bus schedules and seat availability
- Select seats and make seat reservations
- Make secure online payments
- View and manage booking history
- HTML, CSS, and JavaScript for the front-end interface
- Node.js and Express.js for the server-side development
- DB.JSON or any other database for data storage
- Stripe or any other payment gateway for handling online payments
For more information you can reach out; Email: [email protected]
https://kipngenohaaron.github.io/Bus_Ticket_Booking/
https://bus-ticket-booking-pwps.onrender.com
To get started with the Online Bus Ticket Booking System, follow the instructions below:
- Node.js and npm (Node Package Manager) should be installed on your system.
- MongoDB or a compatible database should be installed and running.
-
Clone the repository:
-
Change to the project directory:
-
Install the dependencies:
- Set up the database:
- Create a new MongoDB database.
- Update the database connection URL in the configuration file (
config.js
orconfig.json
) with your database details.
- Set up the payment gateway:
- Sign up for a Stripe account or any other payment gateway service.
- Update the payment gateway API keys in the configuration file (
config.js
orconfig.json
) with your API keys.
-
Start the server:
-
Open a web browser and visit
http://localhost:3000
to access the application. -
Register a new user account or log in with an existing account.
-
Use the search functionality to find bus routes based on origin and destination.
-
Select a suitable bus schedule and view seat availability.
-
Choose seats and proceed to make a reservation.
-
Complete the payment process using the integrated payment gateway.
-
After successful booking, the user will receive a confirmation with the ticket details.
-
Users can view and manage their booking history from their account dashboard.
Contributions are welcome! If you have any suggestions, bug fixes, or improvements, please open an issue or submit a pull request.
MIT License Copyright 2023 Kipngenoh Aaron Rotich
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.