Tracker for financial data.
Make sure the root directory contains file named .env
with all variables initialized:
DB_USER=<set_username>
DB_PASS=<set_password>
...
When running fully containerized stack, make sure to specify service names for hostnames
in the corresponding env vars, e.g. redis
for REDIS_HOST
.
docker-compose up
GUI for DBMS is available at port 5433
. To connect to the database,
fill in all the details from .env
, and use host.docker.internal
as the host.
alembic upgrade head
To start the worker instance:
celery -A src.tasks.tasks:celery worker --loglevel=INFO --pool=solo
To enable a web interface for background tasks:
celery -A src.tasks.tasks:celery flower
By default, the dashboard is accessible on localhost:5555
.
poetry shell
uvicorn src.main:app --reload
- By default, the application is available at port
8000
- See autogenerated docs at
/redoc
endpoint - When calling
/login
endpoint to authorize, use email as the username