Introduction to ForgeKit
ForgeKit is a premium, edge-optimized developer toolkit and presets ecosystem engineered for enterprise-grade TypeScript applications. Built to run seamlessly on Vercel Edge and Cloudflare Workers, ForgeKit delivers high-performance modular layers for storage, authorization, logging, and environment management with zero boilerplate.
Why ForgeKit?
In high-growth engineering, teams spend too much time wiring authentication providers, configuring pooling transaction wrappers, and designing logging frameworks. ForgeKit unifies these systems into static, compile-time verified presets:
- Zero Assertions Type-Safety: Strictly types user roles, environment schemas, and database transactions.
- Edge-First Connections: Connections to Cloudflare D1, replication layers, and token stores operate with minimal latency.
- Modular Architecture: Every package is self-contained. Install only what you need (e.g.
@forgekit/author@forgekit/db).
Ecosystem Layout
ForgeKit is split into several modular primitives:
| Package | Utility | Scope |
|---|---|---|
@forgekit/core | Application Layer | Application initialization & presets bindings |
@forgekit/auth | Identity & Session | JWT sessions, OAuth2 adapter libraries, MFA tokens |
@forgekit/db | Storage Adapters | Replicas routing, connection pools, and sql execution |
@forgekit/logger | Observability | Zero-overhead structured JSON logger |
@forgekit/config | Environment config | Type-safe environment validation and variables |
Next Steps
To begin using ForgeKit, follow the installation guides:
- Read the Installation Guide to install packages using the CLI generator.
- Follow the Quick Start Guide to launch your first database connection.