Getting Started

Prerequisites

Tool Version Purpose
Rust stable Redirect services
.NET SDK 9.0 Management API
Node.js >= 18 Dashboard and landing page
Docker latest Infrastructure services
Docker Compose v2 Service orchestration

Clone the Repository

git clone --recurse-submodules https://github.com/FlyingCow/shortas.git
cd shortas

The --recurse-submodules flag pulls the Salvo web framework fork and the UA parser data.

Start the entire stack with a single command:

cd redirect
docker compose up -d

This brings up:

Option 2: Local Development

1. Start Infrastructure

make up

This runs all infrastructure and application services in Docker containers.

2. Build Rust Services

make build

3. Build & Run the Management API

make build-api
cd api && dotnet run

The API starts on port 5050 with Swagger UI at http://localhost:5050/swagger.

4. Build & Run the Dashboard

make build-ui
cd ui/dashboard && npm start

The dashboard opens at http://localhost:3000.

Service Ports

Service Port
Click Router 5800
Click Router API 8081
Click Aggregator API 8082
Domains 5801
Management API 5050
Dashboard 3000
Landing Page 3001
MongoDB 27017
ClickHouse (HTTP) 8123
Redis 6379
MinIO (API) 9002
MinIO (Console) 9001
RabbitMQ 5672
RabbitMQ (Management) 15672

Next Steps