TypeScript template to build SaaS with vite + hono + postgres + drizzle + react + shadcn.
MIT License
[!CAUTION] Please be aware this is a prerelease. It does NOT meet production requirements yet and large breaking changes still occur regularly. An alpha version will be released once we have solid tests for at least authentication & authorization. Want to contribute or discuss cella for one of your projects? Let's connect! ✉️ [email protected]
[!NOTE] Due to a new - rewritten, refocused - version of ElectricSQL, we had to revert to basic API calls everywhere. We are now exploring ways to quickly get local-first back into cella.
node -v
. Install Node 20.x or 22.x. (ie. Volta).Want to use cella to build your next web app? We made it simple using a short create CLI:
pnpm create @cellajs/cella@latest
Follow the steps in create CLI and then run your app:
pnpm quick
You now have an implementation-ready web app. 🤯! But ... without any unique functionality 🤓. Read the Quickstart so you can build something unique quickly.
For those that want to participate in development:
git clone [email protected]:cellajs/cella.git && cd cella
pnpm install && pnpm quick
For a full setup - with Postgres instead of pglite - you need Docker. Install Orbstack or Docker.
pnpm install
pnpm docker
Start all servers:
pnpm dev
Lastly, seed your db (with dev
running) to sign in as admin user.
pnpm seed
Check it out at localhost:3003! Generated API docs can be found at localhost:4004/docs. Manage your local db with local.drizzle.studio.
💙💛 Big thank you to drizzle, hono, tanstack-router & electric.