Facility Reservation System Documentation
Welcome to the documentation for the Facility Reservation System - a REST API service for managing facility bookings and user administration.
π Documentation Index
π Product
- Product Requirements Document (PRD) - Complete product vision, user needs, and implementation roadmap
- User personas, workflows, and success metrics
- Functional requirements organized by implementation phases
- Competitive analysis and market positioning
ποΈ Architecture
- Architecture Overview - Complete system architecture using arc42 template
- System context, building blocks, runtime views
- Quality requirements, deployment, and crosscutting concepts
- Links to all related ADRs and design documents
π― Architecture Decision Records (ADRs)
- ADR Index - Key architectural decisions and their rationale
π Design Documents
- Design Docs Index - Detailed designs for complex systems
π Quick Start
For Product Managers & Stakeholders
- Start here: Product Requirements Document (PRD) - Complete product vision and roadmap
- Current status: Phase 0 (foundation) complete, Phase 1 (core booking) in detailed planning
- Success metrics: User adoption, booking efficiency, and system reliability targets
For New Developers
- Product context: PRD - Understand what weβre building and why
- System design: Architecture Overview - Technical system architecture
- Daily workflow: Development Workflow for productive development
For Architects
- Product strategy: PRD - Business requirements and success criteria
- System overview: Architecture Overview - Complete arc42 documentation
- Decision context: ADR Index - Rationale behind architectural choices
- Complex systems: Design Docs - Implementation details for sophisticated workflows
For API Consumers
- API specification:
spec/main.tsp
- TypeSpec definition of all endpoints - Client generation: API Contract Ecosystem - How to generate client SDKs
- OpenAPI schema:
spec/tsp-output/schema/3.1.0/openapi.yaml
- Generated OpenAPI specification
π οΈ Development Quick Reference
For complete development workflow, see Development Workflow.
Key Files
spec/main.tsp
- API specification (TypeSpec)_db/schema.sql
- Database schema (source of truth)_db/query_*.sql
- SQL queries for code generationinternal/api_service.go
- Business logic implementation
π Documentation Principles
This documentation follows a structured approach with clear ownership:
- ADRs: Document architectural decisions with rationale
- Design Docs: Detailed implementation patterns for complex systems
- Architecture: Comprehensive system overview using arc42 template
For contributing guidelines, see individual README files in adr/ and design-docs/ directories.
π― System Overview
The Facility Reservation System is built with a schema-driven development approach using TypeSpec for API specification, sqlc for database code generation, and Atlas for schema management.
For complete system architecture and design decisions, see Architecture Documentation.
π·οΈ Technology Stack
For detailed technology choices and architecture, see Architecture Documentation.
For detailed information about any topic, follow the links above or browse the documentation directories.