Receives quote requests from the sage.is/hardware configurator.
export RESEND_API_KEY="re_your_key_here"
./pocketbase serve --http=0.0.0.0:8090
http://localhost:8090/_/ to create your admin accountorders collection is created automatically via migrationpb.sage.is to your cluster (A record or CNAME)https://sage.is to the allowed CORS originspb.sage.issage.is) in Resend dashboardRESEND_API_KEY environment variable before starting PocketBasefrom and to addresses in pb_hooks/main.pb.js if neededpb.sage.is/api/collections/orders/recordsK-212-483-9271) and saves the order[email protected] with full config details and admin link| Field | Type | Required | Notes |
|---|---|---|---|
| order_number | text | no | Auto-generated by hook (e.g. K-212-483-9271) |
| yes | Customer email | ||
| name | text | yes | Customer name |
| organization | text | no | Company, school, etc. |
| config | json | yes | Full configurator state |
| monthly_total | number | yes | Calculated monthly price |
| annual_total | number | yes | Calculated annual price (15% off) |
| status | select | yes | new, contacted, quoted, signed, cancelled |
| notes | text | no | Internal team notes |
This PocketBase setup is temporary. The plan is to migrate to Django + Django Ninja with: