Skip to content

A small ToDo application built using HTMX, Bun, Hono, Drizzle ORM and more!

Notifications You must be signed in to change notification settings

cdbrw/htmx-bun-hono

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 HTMX - Bun, Hono, Drizzle ORM, Tailwind

A simple ToDo app meant to show some of the HTMX basics. It is all running using Bun, with Hono for the routing, Drizzle as the ORM for the SQLite database and Tailwind for styling.

To see how this whole project was put together, you can watch the full video here.

Setup

Install all dependencies

bun install

Create a .env file

PORT=3049

Create SQLite DB + Generate migrations

bunx drizzle-kit generate:sqlite --schema ./db/schema.ts

Apply migrations

bun run ./db/migrate.ts 

Run the seed script

bun run ./db/seed.ts

Start

Everything should be set up now! All we have left to do is run:

bun run dev

About

A small ToDo application built using HTMX, Bun, Hono, Drizzle ORM and more!

Topics

Resources

Stars

Watchers

Forks