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.
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.##
- use golang
- use tmdb api as provider for tv informations https://developers.themoviedb.org/3/getting-started/introduction
- You have to register and aquire an api-key (service is free of charge)
- Please provide us the source code as a public accessible git repo (github, gitlab,...)
The system is composed of three components:
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
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
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 |
| |
----------------------------------------------------------------------------
Docker
- Clone project
git clone [email protected]:dsernahiguita/TMDBHydra.git
- Go to the path TMDBHydra/scripts/
- Run
docker-compose build
- Run
docker-compose up
-
When the installation is finished, the BackendForFrontend will be available on port 4060 and the WebInterface on port 3000 or 3001.
-
Please open your browser and type in the url localhost:3000