Skip to content

Examples

Realistic, runnable applications that exercise full KickJS patterns end-to-end. Each example was scaffolded with the CLI (kick new + kick g module) and customized.

Task Management Apps

Production-shaped DDD apps with 14 modules, JWT auth, real-time WebSocket, BullMQ queues, cron jobs, Swagger, and DevTools — same scope across three database stacks so you can compare ORM choices.

AppDatabaseORM
task-drizzle-apiPostgreSQLDrizzle
task-prisma-apiPostgreSQLPrisma 7 (driver adapters)
task-mongoose-apiMongoDBMongoose

Multi-Tenant Apps

Demonstrate the BYO multi-tenancy resolution + per-tenant connection caching pattern. See the Multi-tenancy with KickJS guide for the underlying recipe.

AppDatabaseORM
multi-tenant-drizzle-apiPostgreSQLDrizzle
multi-tenant-prisma-apiPostgreSQLPrisma
multi-tenant-mongoose-apiMongoDBMongoose

Starter

The simplest possible app — bootstrap() and one route in ~10 lines.

minimal-api

Running Examples

bash
git clone https://github.com/forinda/kick-js.git
cd kick-js
pnpm install
pnpm build

# Run any example
cd examples/minimal-api
kick dev

Creating Your Own

bash
npx @forinda/kickjs-cli new my-api
cd my-api
pnpm install
pnpm kick g module users
pnpm kick dev