├── .dockerignore ├── .env.example ├── .flake8 ├── .gitignore ├── Dockerfile ├── README.md ├── alembic.ini ├── app ├── __init__.py ├── actions.py ├── config.py ├── db │ ├── __init__.py │ ├── base.py │ └── session.py ├── main.py ├── models.py └── schemas.py ├── docker-compose.override.yml ├── docker-compose.yml ├── migrations ├── README ├── env.py ├── script.py.mako └── versions │ └── ee48ba03fe9f_create_posts_table.py ├── mypy.ini ├── poetry.lock ├── prestart.sh ├── pyproject.toml └── tests ├── __init__.py └── test_app.py /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/.env.example -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/.flake8 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/alembic.ini -------------------------------------------------------------------------------- /app/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = "0.1.0" 2 | -------------------------------------------------------------------------------- /app/actions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/app/actions.py -------------------------------------------------------------------------------- /app/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/app/config.py -------------------------------------------------------------------------------- /app/db/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/app/db/__init__.py -------------------------------------------------------------------------------- /app/db/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/app/db/base.py -------------------------------------------------------------------------------- /app/db/session.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/app/db/session.py -------------------------------------------------------------------------------- /app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/app/main.py -------------------------------------------------------------------------------- /app/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/app/models.py -------------------------------------------------------------------------------- /app/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/app/schemas.py -------------------------------------------------------------------------------- /docker-compose.override.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/docker-compose.override.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /migrations/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. -------------------------------------------------------------------------------- /migrations/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/migrations/env.py -------------------------------------------------------------------------------- /migrations/script.py.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/migrations/script.py.mako -------------------------------------------------------------------------------- /migrations/versions/ee48ba03fe9f_create_posts_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/migrations/versions/ee48ba03fe9f_create_posts_table.py -------------------------------------------------------------------------------- /mypy.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/mypy.ini -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/poetry.lock -------------------------------------------------------------------------------- /prestart.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/prestart.sh -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexvanzyl/fastapi-simple-app-example/HEAD/tests/test_app.py --------------------------------------------------------------------------------