This is a parody for a crypto exchange using FastAPI as a main backend framework. I also used here Redis for simple caching, sqlalchemy as an ORM, alembic for migrations.
This project generally is API with no frontend part
You can create wallet, exchange and trade. For getting stock information used official site of KASE (Kazakhstan Exchange).
Generally, project is trying to use onion architecture:
- Handlers (http)
- Service (business logic)
- Repository (Work with postgres)
How to run migrations?
- Fill the .env file using .env-example and install and run Redis server
pip install -r requirements.txtalembic upgrade head
How to run the server?
uvicorn src.main:app --reload
