Quick Start
Prerequisites
Section titled “Prerequisites”- Node.js 18+
- Docker (for local PostgreSQL)
- An AWS account (for production deployment)
Installation
Section titled “Installation”npm install @chukfi/cliLocal Development
Section titled “Local Development”Start the local development server:
npx chukfi devThis will:
- Detect a Docker runtime (Docker Desktop, Colima, OrbStack, etc.)
- Spawn an ephemeral
postgres:17-alpinecontainer on port 5433 - Run embedded migrations
- Start the Rust API on port 8080
Initialize a Project
Section titled “Initialize a Project”npx chukfi initScaffolds a new Astro project wired to Chukfi with the @chukfi/astro integration.
Deploy to Production
Section titled “Deploy to Production”npx chukfi deployProvisions the full AWS stack via CDK and writes .env.production with all connection values.