Website, hosted order form, and owner dashboard for Nosh Coma Treetz.
/order/adminnpm install
Copy-Item .env.example .env
npm run dev
Open http://127.0.0.1:4173.
If no admin password is configured and NODE_ENV is not production, the local dashboard login is:
ownernosh-adminSet these environment variables on the host:
SESSION_SECRET - long random string used to sign owner sessionsADMIN_USERNAME - owner username, defaults to ownerADMIN_PASSWORD_HASH - generated with npm run hash-password -- "your secure password"MONGODB_URI - MongoDB Atlas or other MongoDB connection stringMONGODB_DB - database name, defaults to nosh-coma-treetzEmail notifications and customer follow-ups require SMTP variables:
OWNER_EMAILSMTP_HOSTSMTP_PORTSMTP_SECURESMTP_USERSMTP_PASSSMTP_FROMText notifications require Twilio variables:
OWNER_PHONETWILIO_ACCOUNT_SIDTWILIO_AUTH_TOKENTWILIO_FROM_NUMBERWithout SMTP configured, follow-ups are saved and the dashboard offers a mail draft link.