A simple starter fullstack todos app built with React and ElysiaJS using bunJS.
Uses the following tech stack.
- Web Framework: React
- State Management: Zustand
- Styling: TailwindCSS
- Icons: Lucide Icons
- Tooling: Vite, Bun
bun i
bun dev
Uses the following tech stack.
- Runtime: Bun
- Server Framework: Elysia
- DB: Bun SQlite
- ORM: Drizzle
bun i
For Generating a todos.db file if not present
bun db:generate
bun db:migrate
bun dev
- For building better-sqlite3 binaries
bun add --global node-gyp bun run --cwd node_modules/better-sqlite3 build-debug
Note
drizzle sqlite uses better-sqlite3 binaries for drizzle-kit:push support
- Using the push command
bun db:push
Warning
May not work yet! (drizzle-team/drizzle-orm#1293)