A Java console client-server search engine app for the International Movie Database.
JRE 9+ is required to run this project. Download the latest JRE here:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Clone this repository to your computer:
git clone https://github.com/stunstyle/imdb-finder
- Run IMDBServer:
java -cp target/imdb-finder-1.0-SNAPSHOT.jar com.stunstyle.imdb.finder.IMDBServer
- Connect one or more clients:
java -cp target/imdb-finder-1.0-SNAPSHOT.jar com.stunstyle.imdb.finder.IMDBClient
These commands need to be entered in a client's console.
-
get-movie <movie_name> --fields=[field_1,field_2]
returns info about movie in JSON format
if movie is not in local cache, it is downloaded via the OMDB API
-
get-movies --order=[asc|desc] --genres=[genre_1, genre_2] --actors=[actor_1, actor_2]
returns info about all movies featuring selected actors
NOTE: works only for movies located in local cache
-
get-tv-series <name> --season=<value>
returns all episodes of TV series' season
-
get-movie-poster <name>
downloads movie 's poster to local cache
-
clear-cache
clears local cache
- Migrate to gson
- Create a GUI
- Improve util package hierarchy
- Add support for external config file
- Achieve and maintain 75% code coverage
- Add support for logging for the server