Files
TorrServerJellyfin/web
cocool97 b72c66d433 Add openapi API documentation (#294)
* Initial version

- Add OpenAPI documentation generator
- Update README.md to remove endpoint documentations

* Adds new endpoints

- Fixes build with swag
- Adds new endpoints

* Adds more endpoints documentation

- Also removes swag from Dockerfile and build script

* Finally adds all endpoints documentation

* Initial version

- Add OpenAPI documentation generator
- Update README.md to remove endpoint documentations

* Adds new endpoints

- Fixes build with swag
- Adds new endpoints

* Adds more endpoints documentation

- Also removes swag from Dockerfile and build script

* Finally adds all endpoints documentation

* Update README (#1)

* Update README

I completely redid the `README.md`. Now it's much easier to read and understand.

---------

Co-authored-by: cocool97 <34218602+cocool97@users.noreply.github.com>

* Improves documentation

* Delete server/config.db

* Update README.md

* Update README.md

* fix download in api docs

* add api docs to web

---------

Co-authored-by: Shadeov <144587546+shadeov@users.noreply.github.com>
Co-authored-by: nikk gitanes <tsynik@gmail.com>
2023-11-13 09:59:23 +03:00
..
2023-11-13 09:59:23 +03:00
2020-12-24 12:59:16 +03:00
2021-07-18 13:25:41 +03:00
2022-08-02 21:25:40 +03:00
2021-06-08 14:12:32 +03:00
2021-06-08 14:12:32 +03:00
2021-06-08 14:12:32 +03:00
2022-06-13 20:45:19 +03:00
2023-11-13 09:59:23 +03:00

TorrServer web client

How to start project

  1. ignore first two steps if the server is on localhost
  2. duplicate .env_example and rename it to .env
  3. in .env file add server address to REACT_APP_SERVER_HOST (without last "/")

http://192.168.78.4:8090 - correct

http://192.168.78.4:8090/ - wrong

  1. in .env file add TMDB api key
  2. yarn start

Eslint

Prettier will fix the code every time the code is saved

  • yarn lint - to find all linting problems
  • yarn fix - to fix code

How images were generated

npx pwa-asset-generator public/logo.png public -m public/site.webmanifest -p "calc(50vh - 25%) calc(50vw - 25%)" -b "linear-gradient(135deg, rgb(50,54,55), rgb(84,90,94))" -q 100 -i public/index.html -f