Skip to content

Latest commit

 

History

History

README.md

@agentic-db/services

Services metadata extension for agentic-db. This pgpm module registers API endpoints, domains, and site configuration in the Constructive services schema so the GraphQL server knows how to route requests.

This module is automatically deployed as a dependency when you deploy agentic-db.

What It Does

  • Registers the agentic.localhost API endpoint (app schema)
  • Registers the auth.localhost API endpoint (auth schema)
  • Configures domain routing for the PostGraphile GraphQL server
  • Links database schemas to their corresponding API surfaces

Deploy

This module is typically deployed alongside agentic-db:

# Deploy both modules together (recommended)
pgpm deploy --createdb --database agentic-db --yes --package agentic-db

To deploy this module independently:

# Standalone deploy (requires agentic-db already deployed)
pgpm deploy --database agentic-db --yes --package agentic-db-services

Module Dependencies

agentic-db-services
  requires: plpgsql, metaschema-schema, metaschema-modules, services

Developing

# Run tests
pnpm test

# Watch mode
pnpm test:watch

Credits

Built by the Constructive team -- creators of modular Postgres tooling for secure, composable backends. Contribute on GitHub.

Disclaimer

AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.

No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.