An auto-generated GraphQL API layer for PostgreSQL databases that provides CRUD operations, aggregation queries, and transaction support without requiring schema definitions. Version 3.0.0 fixes SQL injection vulnerabilities. It is intended for quick prototyping or simple deployments, but lacks active maintenance, TypeScript types, and support for subscriptions or complex joins. The package is a standalone service (not a library) and requires manual setup via environment variables.
npm install postgres-graphql-data-serviceNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to set up and run the Postgres GraphQL Data Service locally.
Run using npm start or directly with node.
Use JavaScript only or create your own type definitions.
Upgrade to version 3.0.0 or later.
Set PORT environment variable to a value > 1024.
Change PORT in .env to a value > 1024 (e.g., 3000).
Run npm install to install dependencies.
Ensure PostgreSQL is running and check .env settings for host and port.