/bun-elysia-tailwind-htmx-todo-app

Bun, ElysiaJS, Turso, HTMX

Primary LanguageTypeScript

A simple TODO app

Intro

This repo is a simple CRUD todo web app for learning purposes.

Features:

  • Add todo
  • Toggle todo as done
  • Remove todo

Based on the BETH stack by Ethan Niser

Live deployed version

Tech - under the hood

  • Bun - JavaScript runtime & toolkit
  • Elysia - server-side, end-to-end typesafety on top of Bun
  • Typed HTML - typesafe HTML templates
  • Tailwind - utility first CSS
  • Turso - SQLite on the edge
  • Drizzle ORM - typesafe ORM
  • HTMX - simple interactivity via hypermedia systems
  • Hyperscript - scripting for simple DOM manipulation
  • Fly - easy deployments via CLI

TODO

  • To add authentication with Lucia

Instructions

To install dependencies:

bun install

To run:

bun run src/index.ts