CLI Scripts¶
The server/ package includes several management scripts accessible via npm run. Run all commands from the server/ directory unless noted.
Available Scripts¶
| Script | Description |
|---|---|
npm run super-admin |
Create, list, update, delete, and restore super-admin accounts |
npm run location |
Create, import, list, update, and delete survey site records |
npm run generate-seeds |
Generate seed QR codes in MongoDB and export a printable PDF |
npm run generate-coupons |
Generate blank coupon PDF templates (no database connection) |