886 B
886 B
Pedal
Simple Express + Bulma app for rating pads and uploading photos. Accounts require admin approval.
Quick start (Docker)
- Update
docker-compose.ymlwith real secrets forSESSION_SECRETandADMIN_PASSWORD. - Start services:
docker compose up --build
- Visit
http://localhost:3000and log in with the admin credentials from compose.
Local run (without Docker)
- Create a Postgres database and run
db/init.sql. - Copy
.env.exampleto.envand update the values. - Install dependencies and start:
npm install
npm start
Note: HEIC/HEIF support depends on libheif being available on the system. Docker installs it for you.
Features
- Username/password auth with admin approval
- Pad listing + detailed rating pages
- Photo uploads converted to WebP and stored locally in
uploads/ - Admin panel for approving accounts