Welcome to the DeliverU development documentation! This folder contains comprehensive notes about the system architecture, workflows, and development practices. Whether you're a new team member or an existing developer, these notes will help you understand and navigate the codebase effectively.
- System Overview - High-level architecture and technology stack
- Monorepo Structure - Understanding the workspace organization
- Infrastructure (CDK) - AWS CDK setup, stages, and deployment
- Infrastructure (Terraform) - Terraform configuration and usage
- Database Architecture - PostgreSQL, Drizzle ORM, and data models
- Event-Driven Architecture - AWS EventBridge and Restate workflows
- WebApp (Main Application) - Main user-facing application
- JobBoard Application - Job board application
- JobWebsite Application - Public job website
- Core Package - Shared business logic and domain models
- Functions Package - Serverless Lambda functions
- UI Package - Shared UI components
- Templates Package - Email and document templates
- Storybook - UI component development and testing
- Tests Package - Testing infrastructure and strategies
- Langfuse Package - AI prompt management
- Getting Started - Setting up your local environment
- Database Migrations - Creating and managing database changes
- Writing Actions - Form submissions and action handlers
- Testing Strategy - Unit, integration, and E2E testing
- CI/CD Pipeline - GitHub Actions workflows
- Deployment Process - Staging and production deployments
- Code Review Guidelines - PR review checklist and standards
- Authentication (Clerk) - User authentication and authorization
- Google Maps & Places - Location services integration
- Google Vertex AI - AI/ML capabilities
- AWS Services - S3, Lambda, EventBridge
- Unipile Integration - Third-party integration
- Analytics (PostHog) - Product analytics and feature flags
- Code Standards - TypeScript, React, and coding conventions
- Error Handling - Error management patterns
- Performance Guidelines - Optimization best practices
- Security Guidelines - Security best practices
- Accessibility - A11y standards and testing
- Common Issues - Frequently encountered problems and solutions
- Debugging Guide - Tools and techniques
- Infrastructure Issues - AWS, CDK, and deployment problems
- Environment Variables - All environment variables and secrets
- Scripts Reference - Available npm/pnpm scripts
- API Endpoints - API documentation
- Database Schema - Tables, relationships, and indexes
- Glossary - Terms and acronyms
This documentation should be a living document. When you make significant changes to the codebase:
- Architecture Changes: Update relevant architecture docs
- New Features: Document new patterns or integrations
- Infrastructure Updates: Keep CDK/Terraform docs current
- Process Changes: Update workflow documentation
- Questions? Check Common Issues first
- Not Finding What You Need? Check the Glossary
- Still Stuck? Reach out to the team on Slack
- Keep documentation close to the code it describes
- Use clear examples and code snippets
- Update docs when you update code
- Add diagrams where helpful (using Mermaid syntax)
- Follow the existing structure and format
Last Updated: December 2025 Maintainers: DeliverU Development Team