https://github.com/eduardocruzpalacios/movieflix-java
Movies management console application built with JDK 11.0.12.
https://github.com/eduardocruzpalacios/movieflix-java
movie movie-management movie-manager moviemanager movies
Last synced: about 2 months ago
JSON representation
Movies management console application built with JDK 11.0.12.
- Host: GitHub
- URL: https://github.com/eduardocruzpalacios/movieflix-java
- Owner: eduardocruzpalacios
- License: gpl-3.0
- Created: 2021-03-16T09:38:06.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-28T09:41:09.000Z (almost 3 years ago)
- Last Synced: 2025-03-29T19:11:32.421Z (3 months ago)
- Topics: movie, movie-management, movie-manager, moviemanager, movies
- Language: Java
- Homepage:
- Size: 1.55 MB
- Stars: 2
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MovieFlix
Movies management console application built with JDK 11.0.12.Note: code is written in Spanish language.
## Functionality
### Users
- Read and print all
### Movies
- Import all when starting the application
- Export all when exiting the application
- Create one
- Read and print all
- Delete one
- Update one
- Filter by category and print them
- Filter the most valued and print them
- Filter the least valued and them
- Filter those whose value is above average and print them
- Filter the most watched and print them
## Architecture
| package | purpose |
| ---------- | ------------------------------------------------------------------------------------------------ |
| model | model for objects (attributes, constructors, getters, setters & .toString()) and create() method |
| dao | methods to communicate with data source and perform the tasks demanded by the business logic |
| service | interfaces with business-logic-oriented methods along with the classes implementing them |
| controller | the flow of the application |
| view | information showed to the users and requested from them |
| utility | methods for frequently needs |
| exception | personalized exceptions |
## Data Structure
| data | structure |
| ----------- | ----------------------------------------------------------------------------------------- |
| Usuario | String nombre, LocalDate fechaNacimiento, String ciudadResidencia |
| UsuarioDao | HashMap |
| Pelicula | String titulo, short anyoEstreno, short categoria, long visualizaciones, float valoracion |
| PeliculaDao | List\ |
## Data Source
A .txt file.
## Testing
- Unit tests are made with JUnit 5
- Only model classes are tested
## Libs
- Log4j-api-2.7.jar
- Log4j-core-2.7.jar