Booking flight ticket system.
Forked from https://github.com/aliahmadi4/FlightBookingSystem Many thanks to the authors of the original code.
- Framework: Spring Boot
- Database: MySQL
- JAVA: 17
Hibernate, Thymeleaf, Spring Boot Security, Thymeleaf Dialect, JPA, API Docs
Roles:
- Admin: username=john, password:john123, Add/Remove flight, airplane, and aircraft, search flight, verify ticket
- Agent: username=mike, password:mike123, Book/Cancel ticket for passengers, search flight, verify ticket
- Run MySql Server locally in a Docker container:
docker pull mysql/mysql-server
docker run -p 3306:3306 --name cont-mysql -e MYSQL_ROOT_HOST=% -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=ftb_db -d mysql/mysql-server
- Access REST API Docs:
host:port/api-docs/
e.g.
Swagger-UI (human-friendly API Docs) should be available at:
host:port/swagger-ui.html
e.g.
- UI: (Admin) Flights.
- Cleanup documentation.
- Add more unit and integration tests.