Welcome to the Movie Ticket Booking System! This repository contains the back-end API for the booking system, with comprehensive documentation available via Swagger UI. Feel free to contribute to the front-end design.
- Spring Boot: For building the back-end application.
- REST API: To expose endpoints for various functionalities.
- PostgreSQL: As the relational database management system.
- Maven: For project management and dependency management.
- Spring Security: Securing all the endpoints with basic authentication.
To get started with setting up the project, follow these steps:
-
Fork the Repository π΄:
- Click the "Fork" button at the top right corner of this repository page to create your own copy of the repository.
-
Clone the Forked Repository π:
- Open your terminal or Git Bash.
- Clone the repository using the following command:
git clone https://github.com/<your-username>/movie-ticket-booking-system.git
-
Import the Maven Project π»:
- Open your preferred IDE (such as IntelliJ IDEA or Eclipse).
- Import the cloned repository as a Maven project.
- Allow the IDE to download all the necessary Maven dependencies.
-
Configure the Database π οΈ:
- Open the
application.properties
file located in thesrc/main/resources
directory. - Configure the database connection properties (such as URL, username, and password) according to your local setup.
- Open the
-
Run the Project
βΆοΈ :- Start the application by running the main class.
- Ensure the application starts successfully without any errors.
-
Access API Documentation π:
- Open your web browser.
- Navigate to the following URL to access the Swagger UI for API documentation:
http://localhost:8080/swagger-ui/index.html#
-
Authentication Details π:
- The endpoints are secured with Spring Security.
- Use the following credentials to access the endpoints:
- Username:
admin
- Password:
admin
- Username:
We welcome contributions to improve and enhance the system. Whether it's fixing bugs or adding new features, your efforts are appreciated! π
Thank you for your interest in the Movie Ticket Booking System. Happy coding! π