├── .gitignore ├── LICENSE ├── README.MD ├── backend ├── .dockerignore ├── Dockerfile ├── api │ ├── __init__.py │ └── v1 │ │ ├── __init__.py │ │ └── endpoints │ │ ├── __init__.py │ │ ├── login.py │ │ ├── movie.py │ │ └── user.py ├── core │ ├── __init__.py │ ├── config.py │ ├── deps.py │ └── security.py ├── main.py ├── models │ ├── __init__.py │ ├── movie.py │ └── user.py ├── requirements.txt ├── scheams │ ├── __init__.py │ ├── basic.py │ ├── movie.py │ └── user.py ├── tests │ ├── __init__.py │ ├── conftest.py │ ├── test_movie.py │ └── test_user.py ├── watch.sqlite ├── watch.sqlite-shm └── watch.sqlite-wal ├── docker-compose.yml ├── frontend ├── .dockerignore ├── .env.development ├── .env.production ├── .gitignore ├── Dockerfile ├── README.md ├── index.html ├── jsconfig.json ├── nginx.conf ├── package.json ├── public │ └── favicon.ico ├── src │ ├── App.vue │ ├── apis │ │ ├── movie.js │ │ └── user.js │ ├── assets │ │ ├── css │ │ │ └── base.css │ │ ├── img │ │ │ ├── avatar.png │ │ │ └── totoro.gif │ │ └── logo.png │ ├── components │ │ ├── Layout.vue │ │ ├── WatchFoter.vue │ │ └── WatchHeader.vue │ ├── main.js │ ├── router │ │ └── index.js │ ├── store │ │ └── index.js │ ├── utils │ │ └── request.js │ └── views │ │ ├── edit.vue │ │ ├── list.vue │ │ ├── login.vue │ │ ├── not-fount.vue │ │ └── settings.vue ├── vite.config.js └── yarn.lock └── imgs ├── add.png ├── home.png ├── login.png ├── settings.png └── update.png /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/LICENSE -------------------------------------------------------------------------------- /README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/README.MD -------------------------------------------------------------------------------- /backend/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/.dockerignore -------------------------------------------------------------------------------- /backend/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/Dockerfile -------------------------------------------------------------------------------- /backend/api/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/api/__init__.py -------------------------------------------------------------------------------- /backend/api/v1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/api/v1/__init__.py -------------------------------------------------------------------------------- /backend/api/v1/endpoints/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/api/v1/endpoints/__init__.py -------------------------------------------------------------------------------- /backend/api/v1/endpoints/login.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/api/v1/endpoints/login.py -------------------------------------------------------------------------------- /backend/api/v1/endpoints/movie.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/api/v1/endpoints/movie.py -------------------------------------------------------------------------------- /backend/api/v1/endpoints/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/api/v1/endpoints/user.py -------------------------------------------------------------------------------- /backend/core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/core/__init__.py -------------------------------------------------------------------------------- /backend/core/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/core/config.py -------------------------------------------------------------------------------- /backend/core/deps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/core/deps.py -------------------------------------------------------------------------------- /backend/core/security.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/core/security.py -------------------------------------------------------------------------------- /backend/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/main.py -------------------------------------------------------------------------------- /backend/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/models/__init__.py -------------------------------------------------------------------------------- /backend/models/movie.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/models/movie.py -------------------------------------------------------------------------------- /backend/models/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/models/user.py -------------------------------------------------------------------------------- /backend/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/requirements.txt -------------------------------------------------------------------------------- /backend/scheams/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/scheams/__init__.py -------------------------------------------------------------------------------- /backend/scheams/basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/scheams/basic.py -------------------------------------------------------------------------------- /backend/scheams/movie.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/scheams/movie.py -------------------------------------------------------------------------------- /backend/scheams/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/scheams/user.py -------------------------------------------------------------------------------- /backend/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/tests/conftest.py -------------------------------------------------------------------------------- /backend/tests/test_movie.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/tests/test_user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/tests/test_user.py -------------------------------------------------------------------------------- /backend/watch.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/watch.sqlite -------------------------------------------------------------------------------- /backend/watch.sqlite-shm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/watch.sqlite-shm -------------------------------------------------------------------------------- /backend/watch.sqlite-wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/backend/watch.sqlite-wal -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /frontend/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/.dockerignore -------------------------------------------------------------------------------- /frontend/.env.development: -------------------------------------------------------------------------------- 1 | VITE_BASE_URL = http://127.0.0.1:8000/api/v1 2 | -------------------------------------------------------------------------------- /frontend/.env.production: -------------------------------------------------------------------------------- 1 | VITE_BASE_URL = http://49.232.203.244:1339/api/v1 -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/Dockerfile -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/README.md -------------------------------------------------------------------------------- /frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/index.html -------------------------------------------------------------------------------- /frontend/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/jsconfig.json -------------------------------------------------------------------------------- /frontend/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/nginx.conf -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/public/favicon.ico -------------------------------------------------------------------------------- /frontend/src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/App.vue -------------------------------------------------------------------------------- /frontend/src/apis/movie.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/apis/movie.js -------------------------------------------------------------------------------- /frontend/src/apis/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/apis/user.js -------------------------------------------------------------------------------- /frontend/src/assets/css/base.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/assets/css/base.css -------------------------------------------------------------------------------- /frontend/src/assets/img/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/assets/img/avatar.png -------------------------------------------------------------------------------- /frontend/src/assets/img/totoro.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/assets/img/totoro.gif -------------------------------------------------------------------------------- /frontend/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/assets/logo.png -------------------------------------------------------------------------------- /frontend/src/components/Layout.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/components/Layout.vue -------------------------------------------------------------------------------- /frontend/src/components/WatchFoter.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/components/WatchFoter.vue -------------------------------------------------------------------------------- /frontend/src/components/WatchHeader.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/components/WatchHeader.vue -------------------------------------------------------------------------------- /frontend/src/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/main.js -------------------------------------------------------------------------------- /frontend/src/router/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/router/index.js -------------------------------------------------------------------------------- /frontend/src/store/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/store/index.js -------------------------------------------------------------------------------- /frontend/src/utils/request.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/utils/request.js -------------------------------------------------------------------------------- /frontend/src/views/edit.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/views/edit.vue -------------------------------------------------------------------------------- /frontend/src/views/list.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/views/list.vue -------------------------------------------------------------------------------- /frontend/src/views/login.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/views/login.vue -------------------------------------------------------------------------------- /frontend/src/views/not-fount.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/views/not-fount.vue -------------------------------------------------------------------------------- /frontend/src/views/settings.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/src/views/settings.vue -------------------------------------------------------------------------------- /frontend/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/vite.config.js -------------------------------------------------------------------------------- /frontend/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/frontend/yarn.lock -------------------------------------------------------------------------------- /imgs/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/imgs/add.png -------------------------------------------------------------------------------- /imgs/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/imgs/home.png -------------------------------------------------------------------------------- /imgs/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/imgs/login.png -------------------------------------------------------------------------------- /imgs/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/imgs/settings.png -------------------------------------------------------------------------------- /imgs/update.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zy7y/watch-fastapi/HEAD/imgs/update.png --------------------------------------------------------------------------------