Skip to content

Latest commit

 

History

History
86 lines (68 loc) · 3.22 KB

README.md

File metadata and controls

86 lines (68 loc) · 3.22 KB

TMDBHydra

Story/Assignment

As a mercedes benz S class customer, I want that my children are able to watchtv series (in the build-in backseat screens) during long journeys, that i can focus on driving.

POC:

This POC shall simulate the user ui interaction and data flow via a command line tool. When the cli tool is started, the user is asked for a tv series title (free text), After the user enters a title and presses enter a list of matched series is shown. The user has to pick a series title from that result list. In the next step the user has choose from a season and an episode. In the end the user gets displayed a title and a summary of the chosen episode.##

Restrictions

Architecture

The system is composed of three components:

BackedForFrontend

Rest API that implements the following services:

  • Get TV series
  • Get seasons
  • Get Episodes This API consumes the The Movie Database API

located: services/BackedForFrontend

After the Installation this service is available under the Port: 4060

WebInterfaceReact

Web application that allows the user in a graphical interface to searches series using free text, select seasons and episodes.

located: services/WebInterfaceReact

After the Installation this service is available under the Port: 3000

CliGo

Command line tool to simulate user ui interaction and data flow

located: services/CliGo

-------------------------------------    -------------------------------------
|                                    |   |                                   |
|       WEB Interface React          |   |    Cli Go (Commander line tool)   |  
|                                    |   |                                   |
-------------------------------------    -------------------------------------

----------------------------------------------------------------------------
|                                                                          |
|                          BackedForFrontend Api(Port 4060)                |
|                                                                          |   
----------------------------------------------------------------------------

----------------------------------------------------------------------------
|                                                                          |
|                                   TMDB Api                               |
|                                                                          |  
----------------------------------------------------------------------------

Installation

Requirements

Docker

  1. Clone project
git clone [email protected]:dsernahiguita/TMDBHydra.git
  1. Go to the path TMDBHydra/scripts/
  2. Run
docker-compose build
  1. Run
docker-compose up
  1. When the installation is finished, the BackendForFrontend will be available on port 4060 and the WebInterface on port 3000 or 3001.

  2. Please open your browser and type in the url localhost:3000

Logs

License