Keep-going: tree shares, health flags, CI, compose, timestamp Zapier action
Directory-tree encrypted share mock; /health reports mockVerae/nats; middleware OpenAPI extended; zappier receipt by jobId; activate Create Timestamp (local mock or hosted); GitHub Actions test:offline; compose builds zappier image; seed-demo.mjs. No Zapier login or live Verae required.
This commit is contained in:
parent
645a24909a
commit
5925e76c72
39 changed files with 514 additions and 33 deletions
22
scripts/seed-demo.mjs
Normal file
22
scripts/seed-demo.mjs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env node
|
||||
/**
|
||||
* Seed a demo tenant on local middleware (MOCK_VERAE).
|
||||
*/
|
||||
const base = process.env.MIDDLEWARE_URL || 'http://127.0.0.1:3100';
|
||||
|
||||
const res = await fetch(`${base}/zapier/v1/signup`, {
|
||||
method: 'POST',
|
||||
headers: { 'content-type': 'application/json' },
|
||||
body: JSON.stringify({
|
||||
email: 'demo@veraetime.local',
|
||||
name: 'Demo tenant',
|
||||
veraeUsername: 'demouser',
|
||||
veraePassword: 'demopass',
|
||||
}),
|
||||
});
|
||||
const body = await res.json();
|
||||
if (!res.ok) {
|
||||
console.error(body);
|
||||
process.exit(1);
|
||||
}
|
||||
console.log(JSON.stringify({ apiKey: body.apiKey, tenant: body.tenant, middleware: base }, null, 2));
|
||||
Loading…
Add table
Add a link
Reference in a new issue