├── .gitignore ├── LICENSE ├── README.md ├── config.yml ├── main.py ├── requirements.txt ├── sql_app.db └── webapp ├── __init__.py ├── application.py ├── containers.py ├── database.py ├── endpoints.py ├── models.py ├── repositories.py └── services.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsovYura/FastAPI_DI_SqlAlchemy/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsovYura/FastAPI_DI_SqlAlchemy/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsovYura/FastAPI_DI_SqlAlchemy/HEAD/README.md -------------------------------------------------------------------------------- /config.yml: -------------------------------------------------------------------------------- 1 | db: 2 | url: "sqlite:///./sql_app.db" 3 | -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsovYura/FastAPI_DI_SqlAlchemy/HEAD/main.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | uvicorn 2 | fastapi 3 | sqlalchemy 4 | pyyaml 5 | dependency-injector -------------------------------------------------------------------------------- /sql_app.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsovYura/FastAPI_DI_SqlAlchemy/HEAD/sql_app.db -------------------------------------------------------------------------------- /webapp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webapp/application.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsovYura/FastAPI_DI_SqlAlchemy/HEAD/webapp/application.py -------------------------------------------------------------------------------- /webapp/containers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsovYura/FastAPI_DI_SqlAlchemy/HEAD/webapp/containers.py -------------------------------------------------------------------------------- /webapp/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsovYura/FastAPI_DI_SqlAlchemy/HEAD/webapp/database.py -------------------------------------------------------------------------------- /webapp/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsovYura/FastAPI_DI_SqlAlchemy/HEAD/webapp/endpoints.py -------------------------------------------------------------------------------- /webapp/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsovYura/FastAPI_DI_SqlAlchemy/HEAD/webapp/models.py -------------------------------------------------------------------------------- /webapp/repositories.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsovYura/FastAPI_DI_SqlAlchemy/HEAD/webapp/repositories.py -------------------------------------------------------------------------------- /webapp/services.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShvetsovYura/FastAPI_DI_SqlAlchemy/HEAD/webapp/services.py --------------------------------------------------------------------------------