https://github.com/rvansant2/fastapi-starter-kit
A FastAPI Starter Kit
https://github.com/rvansant2/fastapi-starter-kit
docker fastapi postgres python starter-kit
Last synced: 2 months ago
JSON representation
A FastAPI Starter Kit
- Host: GitHub
- URL: https://github.com/rvansant2/fastapi-starter-kit
- Owner: rvansant2
- License: mit
- Created: 2022-11-26T22:10:33.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-09-18T16:36:54.000Z (9 months ago)
- Last Synced: 2026-01-03T22:50:55.854Z (6 months ago)
- Topics: docker, fastapi, postgres, python, starter-kit
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fastapi-starter-kit
A FastAPI starter kit including:
- [SQLAlchemy](https://www.sqlalchemy.org/) (Object Relational Mapper)
- [Pydantic](https://docs.pydantic.dev/latest/) (Validations)
- [Alembic](https://alembic.sqlalchemy.org/en/latest/) (Data migrations)
- [psycopg2-binary](https://www.psycopg.org/docs/install.html) (Postgres connection)
## Requirements
- Python version ^3.12
- Docker
## Get started
- Clone [repo](https://github.com/rvansant2/fastapi-starter-kit/tree/master).
- Change into directory `fastapi-starter-kit`.
- Copy `.env.example` as `.env` and replace the definitions for `FILL_ME_IN`.
- Run command `docker compose up --build`
- Visit [home](http://localhost:8000/) to verify you see the default data.
- Visit (Swagger documentation](http://localhost:8000/docs) to view current defined endpoints
## Useful development tools
- [Postman](https://www.postman.com/downloads/)
- [DBeaver](https://dbeaver.io/download/)