POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DB=
POSTGRES_HOST=
POSTGRES_PORT=
mkdir certs
cd certs
openssl genrsa -out jwt-private.pem 2048
openssl rsa -in jwt-private.pem -outform PEM -pubout -out jwt-public.pem
docker network create home
docker-compose up -d
docker-compose down -v
pre-commit run --all-files
docker exec -it fastapi-fastapi-1 /bin/sh
cd /code/web_app
alembic revision --autogenerate -m "message"
exit
docker exec -it fastapi-fastapi-1 pytest
docker exec -it fastapi-fastapi-1 python -m web_app.db.cli create
docker exec -it fastapi-fastapi-1 python -m web_app.db.cli drop
docker exec -it fastapi-fastapi-1 python -m web_app.cli populate --file tests/test_data/data.json
docker exec -it fastapi-fastapi-1 python -m web_app.cli create-admin
docker-compose up ipython
- Python 3
- FastAPI
- Pydantic
- Postgres
- SQLAlchemy
- Docker