This is an Airlines Registration System created using Java and the Struts 1 framework.
- User Registration and Authentication
- Flight Booking and Cancellation
- Search for Flights by Destination and Date
- View Booking History
- REST API for flight and booking management
- Modern UI with JavaScript and AJAX
Be sure you have the following installed on your development machine:
- Java Development Kit (JDK) >= 8
- PostgreSQL
- Maven
- Git
- Postman
To setup a local development environment:
Clone the GitHub Project,
git clone [email protected]:StepJes/Airlines-Registration-System.git
cd Airlines-Registration-System
Install project dependencies,
mvn install
Configure the database:
- Create a PostgreSQL database named
airlines_registration_system
. - Update the
src/main/resources/application.properties
file with your PostgreSQL credentials.spring.datasource.url=jdbc:postgresql://localhost:5432/airlines_registration_system spring.datasource.username=<your_postgresql_username> spring.datasource.password=<your_postgresql_password> spring.jpa.hibernate.ddl-auto=update
Run the application,
mvn jetty:run
The application will be available at http://localhost:8080
.
- Import the provided Postman collection
Airlines-Registration-System.postman_collection.json
into Postman. - Use the collection to test the REST API endpoints for flight and booking management.
- Users can register for an account, log in, and manage their profile.
- Users can book flights and cancel bookings through the system.
- Users can search for available flights by destination and date.
- Users can view their past bookings and transaction history.
- The system includes a payment processing feature to handle flight bookings.
- The application exposes RESTful endpoints for managing flights and bookings programmatically.
- Backend: Java, Struts 1, REST API
- Frontend: JavaScript, AJAX, HTML, CSS
- Database: PostgreSQL
- API Testing: Postman
- Build Tool: Maven
The Airlines Registration System is designed to streamline the process of booking and managing flights. Using Java and Struts 1 for the backend provides a robust framework, while JavaScript and AJAX enhance the user experience on the frontend. The integration of REST APIs allows for flexible interaction with the system, and PostgreSQL ensures reliable data storage. Postman is utilized for thorough API testing, making this a comprehensive solution for airline registration and booking needs.