
- Complete FastAPI application with JWT authentication
- SQLite database with SQLAlchemy ORM and Alembic migrations
- User registration/login with secure password hashing
- Multi-cryptocurrency wallet system with balance tracking
- Advertisement system for buy/sell listings with fund locking
- Order management with automatic payment integration
- Payment provider API integration with mock fallback
- Automatic crypto release after payment confirmation
- Health monitoring endpoint and CORS configuration
- Comprehensive API documentation with OpenAPI/Swagger
- Database models for users, wallets, ads, orders, and payments
- Complete CRUD operations for all entities
- Security features including fund locking and order expiration
- Detailed README with setup and usage instructions
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
11 lines
666 B
Python
11 lines
666 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.v1.endpoints import auth, users, cryptocurrencies, advertisements, orders, wallets
|
|
|
|
api_router = APIRouter()
|
|
api_router.include_router(auth.router, prefix="/auth", tags=["authentication"])
|
|
api_router.include_router(users.router, prefix="/users", tags=["users"])
|
|
api_router.include_router(cryptocurrencies.router, prefix="/cryptocurrencies", tags=["cryptocurrencies"])
|
|
api_router.include_router(wallets.router, prefix="/wallets", tags=["wallets"])
|
|
api_router.include_router(advertisements.router, prefix="/advertisements", tags=["advertisements"])
|
|
api_router.include_router(orders.router, prefix="/orders", tags=["orders"]) |