Skip to content

Hirak21/helios-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helios Dashboard Backend

Real-time monitoring and control interface backend for the Helios quantitative trading bot.

Features

  • FastAPI-based REST API
  • Real-time WebSocket communication
  • SQLite database for data persistence
  • Redis for caching and session management
  • JWT authentication
  • Comprehensive logging and error handling

Quick Start

1. Install Dependencies

cd dashboard/backend
pip install -r requirements.txt

2. Configure Environment

cp .env.example .env
# Edit .env with your configuration

3. Run Development Server

python run.py

The API will be available at:

Project Structure

dashboard/backend/
├── app/
│   ├── __init__.py
│   ├── main.py              # FastAPI application
│   ├── config.py            # Configuration management
│   ├── api/                 # API routes
│   ├── core/                # Core utilities
│   │   ├── exceptions.py    # Custom exceptions
│   │   └── logging.py       # Logging configuration
│   ├── models/              # Database models
│   ├── services/            # Business logic
│   └── websocket/           # WebSocket handlers
├── requirements.txt         # Python dependencies
├── .env.example            # Environment configuration template
├── run.py                  # Development server runner
└── README.md               # This file

API Endpoints

Health Check

  • GET /health - Service health status
  • GET / - API information

Development

Running Tests

pytest

Code Style

The project follows PEP 8 style guidelines.

Configuration

All configuration is managed through environment variables. See .env.example for available options.

Logging

Logs are written to both console and file (configurable). Log level and file location can be set via environment variables.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages