@donilite/create-wrap
v1.4.4
Published
Scaffold a @donilite/wrap backend project (Hono + Drizzle + Bun, vertical-slice, decorator-driven)
Maintainers
Readme
@donilite/create-wrap
Scaffold a @donilite/wrap backend project — Hono + Drizzle + Bun, vertical-slice, decorator-driven, test-driven.
bun create @donilite/wrap my-app
# or
bunx @donilite/create-wrap my-appThe generated project ships with:
- an
examplefeature slice (entity + repository + service + controller + DTOs) demonstrating typed populate, entity-scope cache and soft delete - PostgreSQL + Redis via
docker compose, drizzle-kit wired - Swagger UI on
/docs, secure headers, request id, rate limiting, JWT auth - realtime WebSocket endpoint on
/realtime(entity events auto-published) - a test suite on in-process PGlite (
bun test— no docker needed)
First steps inside the project:
bun run wake:db # start PostgreSQL + Redis
bun run push:db # apply the schema
bun run dev # http://localhost:5000/docs
bun test