Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

jliocsar/elizabeth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

Elizabeth

BETH stack boilerplate

🏗️ Work in progress! 🏗️

Features

  • 🔥 Development server with hot-reload (using WebSocket);
  • 🔒 Authentication;
  • 🥡 Response caching;
  • 🐥 gzip compression on static files during build time;
  • 👨‍💻 CLI tool for common operations;

Stack

Usage

To install dependencies:

bun i

To run:

Note Setup the .env file before running the start command

bun start

To run the CLI:

bun cli

How it works

For the styles/static files, this boilerplate currently uses a customized Bun plugin for PostCSS to compile .css and compress them using gzip at the application start up/build time, outputting these files to public (build results are ignored by default).

The boilerplate also includes a cli build command that will fetch and minify the htmx/hyperscript JS files at build time, outputting them to public/external/app.js (also ignored and compressed by default).

Both are ran before the start/dev commands (currently changing css files does not trigger a reload).

The Layout component is used on each page of the application to include the built style/script files.


This project was created using bun init in bun v1.0.3. Bun is a fast all-in-one JavaScript runtime.

This is not production ready yet!

Bun Turso DrizzleORM HTMX PostCSS Tailwind oxc