Skip to content

drienkop/simple-crm-fastapi-sqlmodel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-crm-fastapi-sqlmodel

Simple CRM based on FastAPI and SQLModel

Configuration

Configure the following environment variables:

DATABASE_URL=postgresql+asyncpg://sample_user:sample_pass@db:5432/db_name
SECRET_KEY=random_hash
POSTGRES_USER=sample_user
POSTGRES_PASSWORD=sample_pass
POSTGRES_DB=db_name

Run the services

docker-compose up -d --build

Initial db migration

docker-compose run backend alembic upgrade head