# Architecture Specification

> Generated by openlore v1.0.0 on 2025-06-15

## Purpose

Describes the overall system architecture and how components interact.

## Requirements

### Requirement: LayeredArchitecture

The system SHALL follow a three-layer architecture:
1. **Routes** (Express routers) handle HTTP concerns
2. **Services** contain business logic
3. **Database** handles persistence

### Requirement: EntryPoint

The system SHALL expose a single entry point (`src/index.ts`) that mounts all route
modules and starts an Express server on PORT (default 3000).

### Requirement: HealthEndpoint

The system SHALL expose a public GET /health endpoint returning `{ "status": "ok" }`.

## Technical Notes

- **Implementation**: `src/index.ts`
- **Dependencies**: express
