Installation for devs
π Project Structure
Section titled βπ Project StructureβBunSqStat/βββ apps/| βββ docs/ # Astro docsβ βββ server/ # Bun backend APIβ β βββ src/ # Source codeβ β βββ __tests__/ # Test suitesβ βββ web/ # Vue 3 frontendβ βββ src/ # Source codeβ βββ dist/ # Build outputβββ docs/ # Documentationβββ docker/ # Docker configsβββ packages/ # Shared packages βββ i18n # localesπ Documentation
Section titled βπ Documentationβπ οΈ Tech Stack
Section titled βπ οΈ Tech StackβBackend
Section titled βBackendβ- Bun - Ultra-fast JavaScript runtime
- TypeScript - Type-safe development
- Elysia - High-performance web framework
- Redis Stack - Real-time search and analytics
Frontend
Section titled βFrontendβ- Vue 3 - Progressive JavaScript framework
- Composition API - Modern Vue development
- Naive UI - Beautiful component library
- UnoCSS - Instant on-demand atomic CSS
Installation
Section titled βInstallationβ# Clone the repositorygit clone <repository-url>cd BunSqStat
# Install dependenciesbun install
# Start Redis with Docker Composedocker-compose up -d
# Copy environment templatecp .env.example .env
# Configure your Squid log paths in .envDevelopment
Section titled βDevelopmentβ# Start all services in development modebun run dev
# Or start individual servicesbun run dev --filter=server # Backend onlybun run dev --filter=web # Frontend onlyProduction
Section titled βProductionβ# Build all appsbun run build
# Deploy with Docker Composedocker-compose up -d