Automated Action 4cfc9775ae Create betting application API with FastAPI and SQLite
- Set up project structure with FastAPI and SQLite
- Implement user authentication with JWT
- Create database models for users, events, bets, and transactions
- Add API endpoints for user management
- Add API endpoints for events and betting functionality
- Add wallet management for deposits and withdrawals
- Configure Alembic for database migrations
- Add linting with Ruff
- Add documentation in README
2025-06-02 15:02:41 +00:00

34 lines
616 B
Python

from app.crud.bet import (
create_bet,
get_bet,
get_user_bets,
settle_bets_for_outcome,
update_bet_status,
)
from app.crud.event import (
create_event,
delete_event,
get_event,
get_events,
get_market,
get_outcome,
settle_outcome,
update_event,
)
from app.crud.transaction import (
create_deposit,
create_withdrawal,
get_transaction,
get_user_transactions,
update_transaction_status,
)
from app.crud.user import (
authenticate,
create_user,
get_user,
get_user_by_email,
get_users,
update_user,
update_user_balance,
)