@meyicloud/meyi-onboarding-server
v1.3.2
Published
AWS Marketplace onboarding for Meyi Connect: registration, SNS notifications, e-mail verification, AWS organization onboarding and tenant provisioning.
Downloads
1,898
Keywords
Readme
@meyicloud/meyi-onboarding-server
AWS Marketplace onboarding for Meyi Connect, as an Express plugin.
Package contract
| | |
| --- | --- |
| Name | @meyicloud/meyi-onboarding-server |
| Runtime | Node.js 20+, ES modules |
| Framework | Express 4 (peer) |
| Database | PostgreSQL through drizzle-orm 0.44 and pg (peers), in the meyiconnect schema; migrations run in install() |
| Entry point | createOnboarding({ pool?, config?, logger? }) |
| Routers | publicRouter (buyers, no login) and hostRouter (behind the host's auth) |
| Lifecycle | install(), start(), stop(), getHealth(), isRunning() |
| API | docs/API-CONTRACT.md |
| Replaces | the backend of meyi-marketplace-onboarding 1.1.x |
Configuration
loadConfig() reads the same variables, with the same defaults, as
meyi-marketplace-onboarding 1.1.x. The full list with defaults is in
src/config/index.ts. Malformed values, such as an AWS
account ID that is not 12 digits, stop startup.
Development
npm install
npm run typecheck && npm run lint && npm test
npm run buildSee AGENTS.md for the module layout and the rules.
