Puppysplit is an app that allows you to easily split costs in a group of people e.g. when being on a weekend skiing trip or climbing holiday. It originated in a test project for a web stack based on HTMX. It still a proof of concept so the code may not be as nice as it could get and it's pretty simple in functionality for now.
This repo is based on the BETH stack: https://github.com/ethanniser/the-beth-stack
Technologies used: Bun, Elysia, Turso, HTMX Also: tailwind, drizzle, hyperscript and fly.io
-
Clone this repo
-
Install Bun
-
Run
bun install
to install dependencies -
Create a database with Turso and add the connection url and token to a
.env
file in the root of this project -
Run
bun run db:push
to push the database schema to your database -
Run
bun run dev
to start the dev server
-
Install the Fly CLI
-
Run
fly launch
-
Run
fly secrets set DATABASE_URL=<your url>
&fly secrets set DATABASE_AUTH_TOKEN=<your token>
-
Generate the tailwind css file with
bun run tw
-
Run
fly deploy