Cinema App is a Java based web application that allows users to browse and purchase tickets for movies. It is developed using Spring framework and uses Spring Security for authentication and authorization. The database is managed using Hibernate ORM. My project is using 3-layer architecture and following SOLID principles.
- Browse movie listings and showtimes
- Purchase tickets for specific showings
- Create an account and log in to access saved tickets and purchase history
- Admin users can add, edit, and delete movies and showtimes
Name | version |
---|---|
Java | 17.0.4 |
Apache Tomcat | 9.0.69 |
Maven | 3.8.6 |
PostgreSQL Server | 15.1 (win32) |
Spring Core/MVC | 5.3.20 |
Spring Security | 5.6.10 |
Hibernate | 5.6.14 |
- Clone the repository to your local machine.
- Open the project in your preferred Java IDE (Eclipse, IntelliJ, etc.).
- Set up a local MySQL/PostgreSQL server and update the database configuration in the
db.properties
file. - Import all the required dependencies (Reload All Maven Projects).
- Configure tomcat
- I recommend to use the same version as I used
- Do not forget to remove
context path
- Run the project and go to http://localhost:8080/login in your web browser.
- To access the application you may log in with following credentials (configurable in the
DataInitializer
class):- Username:
admin@i.ua
- Password:
admin123
- Username: