create-maid-app
v0.1.0
Published
A CLI tool for scaffolding modern web applications with Bun, Elysia, and Next.js. Pick between frontend and backend templates.
Maintainers
Readme
✨ create-maid-app
<insert cool logo here>
This is a stack that I, my friends and my teams mostly use for our projects. Here's what inside:
- Next.js app for frontend and occasional server actions shenanigans (shadcn + useful UI libs)
- Elysia backend with basic goodies bundle (drizzle for postgres, bullmq for queues, t3-env for env validation)
- Everything is glued together with Eden Treaty (not tRPC/oRPC because we use Elysia, duh)
Usage
# interactive
npx create-maid-app
# or with a name
npx create-maid-app my-api
# fully scripted (no prompts)
npx create-maid-app my-api --backend --pm bun --http axios --with-bullmq --with-t3-env
npx create-maid-app my-ui --frontend --pm pnpm --http ky --with-eden --with-react-iconsFlags
| Flag | Description |
|---|-------------------------------------------|
| --frontend / --backend | Project type |
| --pm npm\|pnpm\|yarn\|bun | Package manager |
| --http axios\|ky | HTTP client (default: axios) |
| --with-bullmq | BullMQ job queues (backend only) |
| --with-t3-env | t3-env type-safe env (backend only) |
| --with-eden | Elysia Eden Treaty (backend and frontend) |
| --with-react-icons | react-icons (frontend only) |
Backend stack
- Bun runtime
- Elysia + cors + swagger
- Drizzle ORM (PostgreSQL, node-postgres)
- axios or ky
- Optional: BullMQ, t3-env, Eden Treaty
Frontend stack
- Next.js + React
- Tailwind CSS + shadcn/ui + lucide-react
- motion + react-virtuoso
- Jotai state · swr · lodash · zod
- axios or ky
- Optional: react-icons, Eden Treaty
