Webapp for jubiläums event
Find a file
2025-12-05 17:59:19 +01:00
drizzle WIP 2025-11-25 12:15:47 +01:00
nix fix: update bun2nix to get bug fix for cusotm buildFlags 2025-11-26 20:08:33 +01:00
src feat: improve style for point list 2025-12-05 17:59:19 +01:00
.envrc init 2025-11-18 22:48:33 +01:00
.gitignore feat: added sqlite DB 2025-11-18 23:17:25 +01:00
bun.lock wip: chore: switch to new bun2nix api 2025-11-26 16:12:41 +01:00
drizzle.config.ts feat: added sqlite DB 2025-11-18 23:17:25 +01:00
flake.lock fix: update bun2nix to get bug fix for cusotm buildFlags 2025-11-26 20:08:33 +01:00
flake.nix wip: chore: switch to new bun2nix api 2025-11-26 16:12:41 +01:00
package.json wip: chore: switch to new bun2nix api 2025-11-26 16:12:41 +01:00
README.md init 2025-11-18 22:48:33 +01:00
tsconfig.json init 2025-11-18 22:48:33 +01:00

Jubiläums Takt

A webapp to track jubiläums takte for an event at HSKD

Static files

Static files will get bundeld into the executable in the end and therefore need to be known at compile time.

This is achieved over importing them inside src/static/index.ts and including them inside the STATIC dictonary.

As all static files will be hashed and served with imutable Cache-Control header, all references to the static files should be made over the url function, which can be imported from ~/static.

Development

Install dependencies

$ bun install --forzen-lockfile --ignore-scripts

Run the server and tailwind

$ bun run dev
$ bun run css:watch

Nix

Enter the dev shell

$ nix develop

Run the server and tailwind

$ bun run dev
$ nix run .#css_watch

Production

Install all dependencies

$ bun install --frozen-lockfile --ignore-scripts

Run the build script

$ bun run build

The executable will be placed inside the result directory

Nix

Build the application with:

$ nix build