OwnMediaHostDocs
Guides

Local development

Run the backend and dashboard locally.

The supplied guide lists local port 5002 and production proxy port 8080. Follow your environment configuration for the actual listener.

Running Locally

  1. Clone & Environment:
bash
   git clone https://github.com/nourddinak/OwnMediaHost.git
   cd OwnMediaHost
   cp .env.example .env
  1. Run Backend (Port 5002):
bash
   cd backend && cargo run
  1. Run Frontend Dashboard (Port 5173):
bash
   cd frontend && npm install && npm run dev

Executing Backend Tests

bash
cd backend && cargo test

Validates Argon2id password hashing, API key hashing, signed private URL expiration, path traversal guards, format whitelisting, and image thumbnail processing.

Based on the supplied platform and API documentation. View project source ↗