- manifest.json includes "database": "self" field - main.ts reads manifest and conditionally calls CoreService.setupDatabase() - TypeORM with PLUGIN_DB_* -> POSTGRES_* fallback for both modes - Example Item entity, controller, service with CRUD - @nestjs/typeorm, typeorm, pg added to generated package.json - Dynamic import for AppModule to support provide mode |
||
|---|---|---|
| src | ||
| .gitignore | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||