create-typepress
v0.1.4
Published
A next-generation, highly modular CMS powered by TypeScript. Think of it as a modern WordPress — built from the ground up with type safety, composability, and developer experience in mind.
Readme
typepress
A next-generation, highly modular CMS powered by TypeScript. Think of it as a modern WordPress — built from the ground up with type safety, composability, and developer experience in mind.
Architecture
typepress is a monorepo composed of decoupled packages that can be used independently or together:
typepress/
├── apps/
│ ├── web/ # Frontend application (React + TanStack Router)
│ └── server/ # Backend API (Hono, tRPC, Workerd runtime)
├── packages/
│ ├── ui/ # Shared shadcn/ui components and design system
│ ├── api/ # API layer / business logic
│ ├── auth/ # Authentication (Better Auth)
│ └── db/ # Database schema, migrations & queries (Drizzle + SQLite)| Layer | Technology | |---|---| | Frontend | React, TanStack Router, TailwindCSS, shadcn/ui | | Backend | Hono, tRPC, Workerd runtime | | Database | SQLite via Turso / D1, Drizzle ORM | | Auth | Better Auth | | Monorepo | Turborepo | | Deployment | Cloudflare (via Alchemy) |
Getting Started
bun install
bun run db:push
bun run dev- Frontend: http://localhost:5173
- API: http://localhost:3000
Scripts
| Command | Description |
|---|---|
| bun run dev | Start all apps in dev mode |
| bun run build | Build all apps |
| bun run dev:web | Start only the web app |
| bun run dev:server | Start only the server |
| bun run check-types | Type-check across all packages |
| bun run db:push | Push schema to database |
| bun run db:generate | Generate database types |
| bun run deploy | Deploy to Cloudflare |
