Webapp for jubiläums event
  • TypeScript 67.9%
  • Nix 29.7%
  • JavaScript 1.4%
  • J 0.9%
  • CSS 0.1%
Find a file
krauterbaquette e506ead22d chore: v0.0.2
- enable cache with production mode
- fix issue with 'Content-Length: 0' behind nginx reverse proxy
2026-01-25 16:54:53 +01:00
drizzle chore: simplify db migrations 2026-01-14 14:53:58 +01:00
nix fix(nix): enable production mode in wrapped package 2026-01-25 16:53:54 +01:00
src fix: send files directly without streaming 2026-01-25 16:51:30 +01:00
.envrc init 2025-11-18 22:48:33 +01:00
.gitignore fix: gitignore admin list 2025-12-22 12:37:09 +01:00
.lazysql chore: add local sql viewer 2026-01-14 14:51:39 +01:00
bun.lock wip: feat: add reset password page 2025-12-27 18:40:12 +01:00
compose.yml feat: add compose example 2026-01-23 08:46:01 +01:00
drizzle.config.ts feat: added sqlite DB 2025-11-18 23:17:25 +01:00
flake.lock chore: update bun2nix for easier top-level await 2025-12-08 16:31:09 +01:00
flake.nix wip: chore: switch to new bun2nix api 2025-11-26 16:12:41 +01:00
package.json chore: v0.0.2 2026-01-25 16:54:53 +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