Start development server
This will automatically restart when files change.
You can configure the database url using the DATABASE_URL env var. This will
default to postgres://postgres:password@localhost:5432/postgres
Run tests
To automatically rerun tests when files change, run:
To test a specific file:
Creating modules & scripts
Create module:
Create script:
opengb create script foo bar
Generate SDKs
opengb sdk generate --output <output> <target>
OpenAPI & Postman/Insomnia/Paw
Explore the APIs by opening .opengb/openapi.json in Postman/Insomnia/Paw.
Help
All commands are documented in the CLI:
opengb --help
opengb create --help