A minimal ORM and RESTful router for PostgreSQL on Node.js (Koa), version 2.0.29. Provides automatic CRUD endpoints from database configurations, supports connection pooling, and integrates with Koa middleware. Designed for rapid API development with kendo grid compatibility. Includes file upload handling via koa-body. Uses configuration files in a 'dbhome' directory. Releases are infrequent; community is small.
npm install bigbaby-pgNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to set up a basic Koa server with bigbaby-pg ORM, including database configuration and automatic CRUD routes.
Create a 'dbhome' directory with JSON files like 'sysdb.json' containing database credentials.
Use app.use(pgdb.router.routes()) instead of app.use(pgdb.router).
Use require() syntax; avoid import statements.
Run npm install bigbaby-pg
Ensure create() is called with correct arguments: a directory path and API base path (string).
Create a directory (e.g., './dbhome') with at least one JSON config file (e.g., 'sysdb.json').