Core Service (Go)
Getting started and overview for wordloop-core
Core Service (Go)
wordloop-core is the platform's system of record. It handles all database interactions, operational transactional logic, and asynchronous job orchestration.
[!IMPORTANT] The Core service exposes a strictly typed REST API via Huma, ensuring absolute contract adherence.
Architecture & Layout
The project strictly abides by Clean Architecture principles, enforcing strong boundaries between domain logic and side-effects.
Local Development Workflow
Run the Go server locally with standard tools and the consolidated CLI driver.
-
Start Infrastructure Services
(Boots Postgres, Pub/Sub, Storage Emulators, and the OTel Aspire Dashboard)
-
Execute Database Migrations
-
Start the API Server
Development Guidelines
[!WARNING]
Always adhere to the Core Architecture Rules.
If your changes expose new HTTP endpoints, you must regenerate the OpenAPI client before committing. Run: