# Factory Core ## Docs - [Introduction](https://docs.latwoodtech.com/introduction.md): Factory Core is the shared infrastructure layer for all Factory applications. - [@adrper79-dot/analytics](https://docs.latwoodtech.com/packages/analytics.md): PostHog event tracking plus a first-party factory_events database table. - [@adrper79-dot/auth](https://docs.latwoodtech.com/packages/auth.md): JWT issue, verify, refresh, and Hono middleware for role-based access control. - [@adrper79-dot/compliance](https://docs.latwoodtech.com/packages/compliance.md): TCPA suppression, FDCPA contact windows, and immutable consent logging. - [@adrper79-dot/content](https://docs.latwoodtech.com/packages/content.md): Content management backed by Neon Postgres. - [@adrper79-dot/copy](https://docs.latwoodtech.com/packages/copy.md): LLM-powered copywriting with structured output schemas. - [@adrper79-dot/crm](https://docs.latwoodtech.com/packages/crm.md): Lead tracking, conversion events, and customer health view. - [@adrper79-dot/deploy](https://docs.latwoodtech.com/packages/deploy.md): Deployment scripts and CI helpers for Cloudflare Workers monorepos. - [@adrper79-dot/email](https://docs.latwoodtech.com/packages/email.md): Transactional email via Resend with typed templates. - [@adrper79-dot/errors](https://docs.latwoodtech.com/packages/errors.md): Typed error hierarchy and HTTP error response serialization. - [@adrper79-dot/llm](https://docs.latwoodtech.com/packages/llm.md): Anthropic → Grok → Groq automatic failover chain with streaming. - [@adrper79-dot/logger](https://docs.latwoodtech.com/packages/logger.md): Structured JSON logger for Cloudflare Workers. - [@adrper79-dot/monitoring](https://docs.latwoodtech.com/packages/monitoring.md): Sentry error reporting for Cloudflare Workers. - [@adrper79-dot/neon](https://docs.latwoodtech.com/packages/neon.md): Neon Postgres client via Cloudflare Hyperdrive with connection retry. - [@adrper79-dot/seo](https://docs.latwoodtech.com/packages/seo.md): Meta tag generation, OpenGraph, Twitter Cards, and JSON-LD structured data. - [@adrper79-dot/social](https://docs.latwoodtech.com/packages/social.md): Social media post scheduling and multi-platform publishing. - [@adrper79-dot/stripe](https://docs.latwoodtech.com/packages/stripe.md): Stripe webhook handling and subscription lifecycle management. - [@adrper79-dot/telephony](https://docs.latwoodtech.com/packages/telephony.md): Deepgram STT, ElevenLabs TTS, Telnyx webhooks, and VoiceSession orchestration. - [@adrper79-dot/testing](https://docs.latwoodtech.com/packages/testing.md): Zero-dependency mock factories for all Factory Core packages. - [Quickstart](https://docs.latwoodtech.com/quickstart.md): Add Factory Core packages to a Cloudflare Workers app in minutes. - [Database](https://docs.latwoodtech.com/runbooks/database.md) - [Deployment](https://docs.latwoodtech.com/runbooks/deployment.md) - [Getting started](https://docs.latwoodtech.com/runbooks/getting-started.md) - [Secret rotation](https://docs.latwoodtech.com/runbooks/secret-rotation.md) - [Slo](https://docs.latwoodtech.com/runbooks/slo.md) - [Transfer](https://docs.latwoodtech.com/runbooks/transfer.md) ## OpenAPI Specs - [openapi](https://docs.latwoodtech.com/api-reference/openapi.json)