fastapi-postgres
Template for building FastAPI Asynchronous applications with PostgreSQL(SQLModel)
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.4%) to scientific vocabulary
Keywords
Repository
Template for building FastAPI Asynchronous applications with PostgreSQL(SQLModel)
Basic Info
- Host: GitHub
- Owner: darixsamani
- Language: Python
- Default Branch: main
- Homepage: https://deepwiki.com/darixsamani/fastapi-postgres
- Size: 3.41 MB
Statistics
- Stars: 33
- Watchers: 1
- Forks: 11
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
FastAPI Async Template with PostgreSQL
This is a template for building asynchronous FastAPI applications with PostgreSQL.
If you're looking to understand the project in depth, please refer to the full documentation here:
👉 Deep Documentation and Docker Hub Images
Features
- Python FastAPI backend
- POSTGRESQL Database
- Docker-Compose
- Authentification
- Migration with Alembic
- PGADMIN4 for Graphical Database Visualization
- Asynchronous
- Support SQLmodel
Here are the steps to follow to run the program:
After cloning the repository, go to it. 1. DOCKER COMPOSE ``` docker compose up -d --build
```
- RUN FRIST MIGRATION
docker compose exec app uv run alembic revision --autogenerate -m "first migration" docker compose exec app uv run alembic upgrade head Please turn on the LISTEN Docs app.
0.0.0.0:8001/docsPGADMIN4
access to pgadmin by specified db as name server and 5434 as port at localhost/5050
username: admin@gmail.com password: admin
Please turn on the LISTEN Docs app. 0.0.0.0:5050
- EXAMPLE

Owner
- Name: Darix SAMANI SIEWE
- Login: darixsamani
- Kind: user
- Location: Douala, Cameroon
- Company: @DataTouchAnalytics, @hoozonsarl
- Website: https://linktr.ee/darixsamani
- Twitter: darixsamani1
- Repositories: 39
- Profile: https://github.com/darixsamani
Software Engineer
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: fastapi-postgres
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Darix
family-names: SAMANI SIEWE
email: samanidarix@gmail.com
orcid: 'https://orcid.org/0009-0001-0794-7120'
repository-code: 'https://github.com/darixsamani/fastapi-postgres'
abstract: >-
Template for building FastAPI Asynchronous applications
with PostgreSQL(SQLModel)
keywords:
- fastapi
- sqlmodel
- postgres
- asynchronous
license: MIT
GitHub Events
Total
- Watch event: 5
- Push event: 5
- Fork event: 3
Last Year
- Watch event: 5
- Push event: 5
- Fork event: 3
Dependencies
- python 3.8 build
- postgres 12.4
- Mako ==1.2.4
- MarkupSafe ==2.1.3
- SQLAlchemy ==2.0.19
- alembic ==1.11.2
- annotated-types ==0.5.0
- anyio ==3.7.1
- exceptiongroup ==1.1.2
- fastapi ==0.101.0
- greenlet ==2.0.2
- idna ==3.4
- pydantic ==2.1.1
- pydantic_core ==2.4.0
- python-dotenv ==1.0.0
- sniffio ==1.3.0
- starlette ==0.27.0
- typing_extensions ==4.7.1
- actions/checkout v3 composite