A production-ready FastAPI backend for Binance market data analysis with 4 endpoints.
- Real-time Binance market data integration
- RESTful API with 4 endpoints
- Docker containerization
- CI/CD with GitHub Actions
- Comprehensive testing with pytest
# Install dependencies
poetry install
# Run the development server
poetry run uvicorn app.main:app --reload
# Run tests
poetry run pytest
# Build image
docker build -t binance-backend .
# Run container
docker run -p 8000:8000 binance-backend
GET /health
- Health checkGET /api/v1/market-data
- Market data with parametersGET /api/v1/trading
- Trading informationGET /api/v1/analytics
- Analytics and insights
API documentation is available at:
- Swagger UI:
http://localhost:8000/docs
- ReDoc:
http://localhost:8000/redoc
# Deployment test