Skip to content

CRUD-FastAPI Notes application, integrated with SQLAlchemy and PostgreSQL.

Notifications You must be signed in to change notification settings

IlyaGrebenschikov/FastApi_Notes

Repository files navigation

Async FastAPI CRUD Application

Simple CRUD application with PostgreSQL Redis and SQLAlchemy.

Setup:

docker compose -f docker-compose.yaml up

Env-file:

You need to rename .env_example to .env and set your values.

POSTGRES_HOST=host

POSTGRES_PORT=port

POSTGRES_USER=username

POSTGRES_PASSWORD=password

POSTGRES_DB=dbname

DB_URL='postgresql+asyncpg://{POSTGRES_USER}:{POSTGRES_PASSWORD}@{POSTGRES_HOST}:{POSTGRES_PORT}/{POSTGRES_DB}'