It may not be the BEST stack, but it is the BETH stack.
Also: typed-html, tailwind-css, drizzle, hyperscript and fly.io
Clone this repo
Install Bun
Run
bun installto install dependenciesCreate a database with Turso and add the connection url and token to a
.envfile in the root of this projectRun
bun run db:pushto push the database schema to your databaseRun
bun run devto start the dev server
Install the Fly CLI
Run
fly launchRun
fly secrets set DATABASE_URL=<your url>&fly secrets set DATABASE_AUTH_TOKEN=<your token>Generate the tailwind css file with
bun run twRun
fly deploy