My App

Server

Server

Dex's server handles asset serving, SPA fallback, and production deployment.

Topics

Quick Start

# Dev server
bun run dev

# Production build
bun run build

# Run production server
cd build
./server

Key Features

FeaturePurpose
Asset ServingStatic files from web/public/
SPA FallbackClient-side routes work in production
Dev ReloadHot reload on file changes
API RoutesServer-side endpoints

See Also

On this page