
- Set up project structure with FastAPI - Implement user and account management - Add send and receive money functionality - Set up transaction processing system - Add JWT authentication - Configure SQLAlchemy with SQLite - Set up Alembic for database migrations - Create comprehensive API documentation
44 lines
998 B
Python
44 lines
998 B
Python
from app.schemas.user import User, UserCreate, UserUpdate, UserInDB
|
|
from app.schemas.account import Account, AccountCreate, AccountUpdate, AccountType
|
|
from app.schemas.transaction import (
|
|
Transaction,
|
|
TransactionType,
|
|
TransactionStatus,
|
|
DepositCreate,
|
|
WithdrawalCreate,
|
|
TransferCreate,
|
|
ReceiveMoneyCreate,
|
|
SendMoneyCreate,
|
|
TransactionUpdate
|
|
)
|
|
from app.schemas.token import Token, TokenPayload
|
|
|
|
# Define __all__ to make explicit what's exported from this module
|
|
__all__ = [
|
|
# User schemas
|
|
"User",
|
|
"UserCreate",
|
|
"UserUpdate",
|
|
"UserInDB",
|
|
|
|
# Account schemas
|
|
"Account",
|
|
"AccountCreate",
|
|
"AccountUpdate",
|
|
"AccountType",
|
|
|
|
# Transaction schemas
|
|
"Transaction",
|
|
"TransactionType",
|
|
"TransactionStatus",
|
|
"DepositCreate",
|
|
"WithdrawalCreate",
|
|
"TransferCreate",
|
|
"ReceiveMoneyCreate",
|
|
"SendMoneyCreate",
|
|
"TransactionUpdate",
|
|
|
|
# Token schemas
|
|
"Token",
|
|
"TokenPayload",
|
|
] |