To clone and run this application, you'll need git, docker and docker-compose. Follow this steps to make this work:
- Clone this repository.
$ git clone https://github.com/0x113/x-media $ cd x-media - Run it via docker.
docker-compose up
- Runs at port
8001
- Runs at port
8002
- Runs at port
8003
- Runs at port
8004
Config files are avaiable at <service-name>/config/config.json
tv_show_directories- currently only one directory is supported, must be same like in thedocker-compose.yml. Have idea how to fix it, but don't have time 😄
access_secret - secret key to generate authentication token
refresh_secret - secret key to generate refresh token
tmdb_api_key- API key for the TMDbmovie_directories- currently only one directory is supported, must be same like in thedocker-compose.yml. Have idea how to fix it, but don't have time 😄
Generated using swagger.
You can read the docs for each service at the localhost:<service-port>/docs.
Example: localhost:8001/docs will give you docs for the tv show service.
Using treafik.
Visit localhost:8080 for the dashboard.
You can call each service separatly with curl --header "Host: <hostname>" localhost/<api-endpoint>
Example: curl --header "Host: tvshowsvc" localhost/api/v1/tvshows/get/all
- User service ->
usersvc - Authentication service ->
authsvc - Movie service ->
moviesvc - TV shows service ->
tvshowsvc
Work in progress :).
Currenly working on some themes like 8bit or some modern one, so it is in a design phase.
If you'd like to create frontend for this project, feel free to contribute.
TMDb - getting data about movies
TVmaze - getting data about tv shows



