├── .github └── workflows │ └── tests.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── alembic.ini ├── app ├── __init__.py ├── main.py ├── models │ ├── __init__.py │ ├── database.py │ ├── posts.py │ └── users.py ├── routers │ ├── __init__.py │ ├── posts.py │ └── users.py ├── schemas │ ├── __init__.py │ ├── posts.py │ └── users.py ├── tests │ ├── conftest.py │ ├── test_health_check.py │ ├── test_posts.py │ └── test_users.py └── utils │ ├── __init__.py │ ├── dependencies.py │ ├── posts.py │ └── users.py ├── docker-compose.yml ├── docker-entrypoint.sh ├── migrations ├── README ├── env.py ├── script.py.mako └── versions │ ├── 223152812b5f_add_users_and_tokens_tables.py │ ├── cb1409f3e7c2_create_uuid_extension.py │ └── d5f540524f29_add_posts_table.py ├── readme.md └── requirements.txt /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/LICENSE -------------------------------------------------------------------------------- /alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/alembic.ini -------------------------------------------------------------------------------- /app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/app/main.py -------------------------------------------------------------------------------- /app/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/app/models/database.py -------------------------------------------------------------------------------- /app/models/posts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/app/models/posts.py -------------------------------------------------------------------------------- /app/models/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/app/models/users.py -------------------------------------------------------------------------------- /app/routers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/routers/posts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/app/routers/posts.py -------------------------------------------------------------------------------- /app/routers/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/app/routers/users.py -------------------------------------------------------------------------------- /app/schemas/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/schemas/posts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/app/schemas/posts.py -------------------------------------------------------------------------------- /app/schemas/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/app/schemas/users.py -------------------------------------------------------------------------------- /app/tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/app/tests/conftest.py -------------------------------------------------------------------------------- /app/tests/test_health_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/app/tests/test_health_check.py -------------------------------------------------------------------------------- /app/tests/test_posts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/app/tests/test_posts.py -------------------------------------------------------------------------------- /app/tests/test_users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/app/tests/test_users.py -------------------------------------------------------------------------------- /app/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/utils/dependencies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/app/utils/dependencies.py -------------------------------------------------------------------------------- /app/utils/posts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/app/utils/posts.py -------------------------------------------------------------------------------- /app/utils/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/app/utils/users.py -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docker-entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/docker-entrypoint.sh -------------------------------------------------------------------------------- /migrations/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. -------------------------------------------------------------------------------- /migrations/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/migrations/env.py -------------------------------------------------------------------------------- /migrations/script.py.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/migrations/script.py.mako -------------------------------------------------------------------------------- /migrations/versions/223152812b5f_add_users_and_tokens_tables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/migrations/versions/223152812b5f_add_users_and_tokens_tables.py -------------------------------------------------------------------------------- /migrations/versions/cb1409f3e7c2_create_uuid_extension.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/migrations/versions/cb1409f3e7c2_create_uuid_extension.py -------------------------------------------------------------------------------- /migrations/versions/d5f540524f29_add_posts_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/migrations/versions/d5f540524f29_add_posts_table.py -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/readme.md -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeverWalkAloner/async-blogs/HEAD/requirements.txt --------------------------------------------------------------------------------