├── .DS_Store ├── .env-example ├── .gitignore ├── .idea └── .gitignore ├── README.md ├── app ├── .flake8 ├── README.md ├── __init__.py ├── alembic.ini ├── alembic │ ├── README │ ├── env.py │ ├── script.py.mako │ └── versions │ │ ├── 290c4039b962_.py │ │ ├── 6b05f5028e16_.py │ │ ├── 92fab1095a4d_.py │ │ └── afa5805eb617_.py ├── app │ ├── __init__.py │ ├── api │ │ ├── __init__.py │ │ ├── api_v1 │ │ │ ├── __init__.py │ │ │ ├── api.py │ │ │ └── endpoints │ │ │ │ ├── __init__.py │ │ │ │ ├── users.py │ │ │ │ └── utils.py │ │ └── deps.py │ ├── celery │ │ ├── __init__.py │ │ ├── celeryworker_pre_start.py │ │ └── worker.py │ ├── core │ │ ├── __init__.py │ │ ├── celery_app.py │ │ ├── config.py │ │ └── security.py │ ├── crud │ │ ├── __init__.py │ │ ├── base.py │ │ ├── crud_request_log.py │ │ └── crud_user.py │ ├── db │ │ ├── __init__.py │ │ ├── base.py │ │ ├── base_class.py │ │ ├── init_db.py │ │ └── session.py │ ├── exceptions.py │ ├── log │ │ ├── __init__.py │ │ └── log.py │ ├── main.py │ ├── models │ │ ├── __init__.py │ │ ├── request_log.py │ │ └── user.py │ ├── schemas │ │ ├── __init__.py │ │ ├── msg.py │ │ ├── request_log.py │ │ ├── token.py │ │ └── user.py │ └── utils │ │ ├── __init__.py │ │ ├── message_codes.py │ │ ├── response.py │ │ ├── schedule.py │ │ ├── user.py │ │ └── utils.py ├── cache │ ├── __init__.py │ ├── cache-doc.md │ ├── cache.py │ ├── client.py │ ├── enums.py │ ├── key_gen.py │ ├── redis.py │ ├── types.py │ ├── util.py │ └── version.py ├── initial_data.py ├── poetry.lock ├── poetry.toml ├── pyproject.toml ├── tests │ ├── README.md │ ├── conftest.py │ └── test_routes │ │ ├── __init__.py │ │ ├── test_user_model.py │ │ └── test_users.py └── worker-start.sh ├── backend.dockerfile ├── celeryworker.dockerfile ├── docker-compose.dev.yml ├── docker-compose.yml ├── gunicorn_conf.py ├── rocketryscheduler.dockerfile ├── scripts └── format.sh └── start-server.sh /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/.DS_Store -------------------------------------------------------------------------------- /.env-example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/.env-example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/README.md -------------------------------------------------------------------------------- /app/.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/.flake8 -------------------------------------------------------------------------------- /app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/README.md -------------------------------------------------------------------------------- /app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/alembic.ini -------------------------------------------------------------------------------- /app/alembic/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. -------------------------------------------------------------------------------- /app/alembic/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/alembic/env.py -------------------------------------------------------------------------------- /app/alembic/script.py.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/alembic/script.py.mako -------------------------------------------------------------------------------- /app/alembic/versions/290c4039b962_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/alembic/versions/290c4039b962_.py -------------------------------------------------------------------------------- /app/alembic/versions/6b05f5028e16_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/alembic/versions/6b05f5028e16_.py -------------------------------------------------------------------------------- /app/alembic/versions/92fab1095a4d_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/alembic/versions/92fab1095a4d_.py -------------------------------------------------------------------------------- /app/alembic/versions/afa5805eb617_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/alembic/versions/afa5805eb617_.py -------------------------------------------------------------------------------- /app/app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/app/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/app/api/api_v1/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/app/api/api_v1/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/api/api_v1/api.py -------------------------------------------------------------------------------- /app/app/api/api_v1/endpoints/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/app/api/api_v1/endpoints/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/api/api_v1/endpoints/users.py -------------------------------------------------------------------------------- /app/app/api/api_v1/endpoints/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/api/api_v1/endpoints/utils.py -------------------------------------------------------------------------------- /app/app/api/deps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/api/deps.py -------------------------------------------------------------------------------- /app/app/celery/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/app/celery/celeryworker_pre_start.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/celery/celeryworker_pre_start.py -------------------------------------------------------------------------------- /app/app/celery/worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/celery/worker.py -------------------------------------------------------------------------------- /app/app/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/app/core/celery_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/core/celery_app.py -------------------------------------------------------------------------------- /app/app/core/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/core/config.py -------------------------------------------------------------------------------- /app/app/core/security.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/core/security.py -------------------------------------------------------------------------------- /app/app/crud/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/crud/__init__.py -------------------------------------------------------------------------------- /app/app/crud/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/crud/base.py -------------------------------------------------------------------------------- /app/app/crud/crud_request_log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/crud/crud_request_log.py -------------------------------------------------------------------------------- /app/app/crud/crud_user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/crud/crud_user.py -------------------------------------------------------------------------------- /app/app/db/__init__.py: -------------------------------------------------------------------------------- 1 | from app import models 2 | -------------------------------------------------------------------------------- /app/app/db/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/db/base.py -------------------------------------------------------------------------------- /app/app/db/base_class.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/db/base_class.py -------------------------------------------------------------------------------- /app/app/db/init_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/db/init_db.py -------------------------------------------------------------------------------- /app/app/db/session.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/db/session.py -------------------------------------------------------------------------------- /app/app/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/exceptions.py -------------------------------------------------------------------------------- /app/app/log/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/app/log/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/log/log.py -------------------------------------------------------------------------------- /app/app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/main.py -------------------------------------------------------------------------------- /app/app/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/models/__init__.py -------------------------------------------------------------------------------- /app/app/models/request_log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/models/request_log.py -------------------------------------------------------------------------------- /app/app/models/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/models/user.py -------------------------------------------------------------------------------- /app/app/schemas/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/schemas/__init__.py -------------------------------------------------------------------------------- /app/app/schemas/msg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/schemas/msg.py -------------------------------------------------------------------------------- /app/app/schemas/request_log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/schemas/request_log.py -------------------------------------------------------------------------------- /app/app/schemas/token.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/schemas/token.py -------------------------------------------------------------------------------- /app/app/schemas/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/schemas/user.py -------------------------------------------------------------------------------- /app/app/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/utils/__init__.py -------------------------------------------------------------------------------- /app/app/utils/message_codes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/utils/message_codes.py -------------------------------------------------------------------------------- /app/app/utils/response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/utils/response.py -------------------------------------------------------------------------------- /app/app/utils/schedule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/utils/schedule.py -------------------------------------------------------------------------------- /app/app/utils/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/utils/user.py -------------------------------------------------------------------------------- /app/app/utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/app/utils/utils.py -------------------------------------------------------------------------------- /app/cache/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/cache/__init__.py -------------------------------------------------------------------------------- /app/cache/cache-doc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/cache/cache-doc.md -------------------------------------------------------------------------------- /app/cache/cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/cache/cache.py -------------------------------------------------------------------------------- /app/cache/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/cache/client.py -------------------------------------------------------------------------------- /app/cache/enums.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/cache/enums.py -------------------------------------------------------------------------------- /app/cache/key_gen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/cache/key_gen.py -------------------------------------------------------------------------------- /app/cache/redis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/cache/redis.py -------------------------------------------------------------------------------- /app/cache/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/cache/types.py -------------------------------------------------------------------------------- /app/cache/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/cache/util.py -------------------------------------------------------------------------------- /app/cache/version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/cache/version.py -------------------------------------------------------------------------------- /app/initial_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/initial_data.py -------------------------------------------------------------------------------- /app/poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/poetry.lock -------------------------------------------------------------------------------- /app/poetry.toml: -------------------------------------------------------------------------------- 1 | [virtualenvs] 2 | create = true 3 | -------------------------------------------------------------------------------- /app/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/pyproject.toml -------------------------------------------------------------------------------- /app/tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/tests/README.md -------------------------------------------------------------------------------- /app/tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/tests/conftest.py -------------------------------------------------------------------------------- /app/tests/test_routes/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/tests/test_routes/test_user_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/tests/test_routes/test_user_model.py -------------------------------------------------------------------------------- /app/tests/test_routes/test_users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/tests/test_routes/test_users.py -------------------------------------------------------------------------------- /app/worker-start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/app/worker-start.sh -------------------------------------------------------------------------------- /backend.dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/backend.dockerfile -------------------------------------------------------------------------------- /celeryworker.dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/celeryworker.dockerfile -------------------------------------------------------------------------------- /docker-compose.dev.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/docker-compose.dev.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /gunicorn_conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/gunicorn_conf.py -------------------------------------------------------------------------------- /rocketryscheduler.dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/rocketryscheduler.dockerfile -------------------------------------------------------------------------------- /scripts/format.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/scripts/format.sh -------------------------------------------------------------------------------- /start-server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kamranabdicse/fastapi-postgres-boilerplate/HEAD/start-server.sh --------------------------------------------------------------------------------