Built using Golang, SQLite, HTMX, and TailwindCSS. Fully SSR.
Tailwind build tools are the only thing of JS ecosystem that is used in this project.
To install dependencies:
npm iTo start a Tailwind "compiler":
npm run twgo run ./cmd/migrationgo run ./cmd/appdocker build -t lockers . && docker run --rm -p 8080:8080 lockersor
./run.shNote: for auth cookie to work, go on your browser http://127.0.0.1:8080
EMAIL_HOST_ADDRESS: Email (gmail) for sending locker-related email fromEMAIL_HOST_PASSWORD: Above gmail's App password (if using Gmail, which is likely...)SUPPORT_EMAIL: Email (any type) for questions to be directed toCIPHER_KEY: Base64 encoding for a cipher key, rungo run ./cmd/keygento generate one.DOMAIN: Hosting domainDATABASE_URL: Turso database urlDATABASE_AUTH_TOKEN: Tursor database auth tokenADMIN_USERNAME: Admin usernameADMIN_PASSWORD: Admin password