indrazm / BETH-STACK-Template

Basic BETH (Bun, Elysia, Turso, HTMX) Template. It's including Tailwind, and Lucia Auth (Credentials, Github and Google).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BETH Stack Template

This is a template for a BETH stack project. It is a simple web application that uses the following technologies:

  • [B]un.js
  • [E]lysia
  • [T]urso Database
  • [H]TMX

Other technologies used:

  • Typescripts
  • Drizzle
  • Tailwind CSS
  • Kitajs
  • Lucia Auth

Getting Started

Preview

To get started, clone this repository and run bun install to install the dependencies. Then, run bun start to start the development server.

Database

The database is a Turso database. It is sqlite on Edge. The database schema is located in the models/db/ folder schema.ts.

Migrations

To create a migration, run :

bun db:generate

This will create a migration file in the models/db/migrations folder. To run the migrations, run :

bun db:migrate

What's next ?

  • Lucia Oauth Github and Google ✅
  • Basic Components
  • Documentations
  • Dockerfile

About

Basic BETH (Bun, Elysia, Turso, HTMX) Template. It's including Tailwind, and Lucia Auth (Credentials, Github and Google).


Languages

Language:CSS 60.1%Language:TypeScript 39.2%Language:JavaScript 0.7%