RATS - Reborned CATS web part
- Set up and run postgresql
- Switch to the
web - Create
.envfile and fill it with variables from.devenv pip install poetrypoetry installpoetry run python -m app.database.sessionpoetry run uvicorn app.main:app --reload
docker-compose up
app/
├── main.py # main router
├── settings.py # pydantic settings
├── api/
│ └── ...
├── schemas/ # pydantic schemas
│ └── ...
├── service/ # business logic
│ └── ...
└── database/
├── models.py
└── session.py # Database connection +
# + models init on file run