Frontend for ISKCON Montreal temple management — donations, expenses, members, tax receipts. Talks to Goloka backend.
Jekyll 4.3 static site, Sprae reactivity, vanilla ES modules. No bundler, no build step.
Prerequisites: Ruby, Bundler, Node.js.
bundle install
npm install
npm start # http://localhost:4000 (HTTP, live reload)
npm run start:https # https://localhost:4000 (HTTPS, optional)
Point to a local Goloka instance via browser console:
localStorage.setItem('mandir_api', 'http://localhost:8080')
Revert to production:
localStorage.removeItem('mandir_api')
Playwright, Chromium. Requires dev server running (npm start).
npm test # headless
npm run test:ui # interactive UI
GitHub Pages builds and serves the site automatically on push to main.
git push origin main
Live at https://iskconmontreal.github.io/mandir. Backend API at https://api.iskconmontreal.ca (CORS + Bearer token).
For local HTTPS testing:
mkdir -p .ssl
openssl req -x509 -newkey rsa:2048 -keyout .ssl/key.pem -out .ssl/cert.pem -days 365 -nodes -subj '/CN=localhost'
npm run start:https