/bun-todos

server-rendered todo app with bun, elysia, drizzle & torso

Primary LanguageCSSThe UnlicenseUnlicense

Example fullstack app with Bun, Elysia, Torso & HTMX

Features

  • TailwindCSS for styling
  • CVA abstraction for styled components with typescript, on the server
  • Drizzle orm

Development

Requirements:

  • Have a clerk account. It's cree!
  • create a .env.local file
  • set CLERK_PUBLISHABLE_KEY and CLERK_SECRET_KEY with your own keys
  • Have a turso account. Also free!
  • set

To start the development server run:

bun run dev

Open http://localhost:3000/ with your browser to see the result.

Deployment

  • Have a fly.io account

  • Create an application

  • Change the app name and primary region settings according to your app on fly.io here

  • Install the fly cli if you haven't yet

  • Login with the fly cli:

    fly auth login
  • Set up your env variables as secrets on fly.io. details here

  • Deploy to fly.io:

    fly deploy
  • That's it, you did it 🎉

License: UNLICENSE