Skip to content

bwjson/FastAPI_bybit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

image

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:

  1. Handlers (http)
  2. Service (business logic)
  3. Repository (Work with postgres)

How to run migrations?

  1. Fill the .env file using .env-example and install and run Redis server
  2. pip install -r requirements.txt
  3. alembic upgrade head

How to run the server?

uvicorn src.main:app --reload

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors