This repo shows an example of how to use advanced features of FDM. Since some of these features are experimental, they might break in the future.
- Install node > 14.x
- Run
npm install
- Enable experimental CLI commands to run the example commands shown later:
export ENABLE_EXPERIMENTAL_CMDS=true
- Run
npm run configure your-project-name
to rename this template
- Sign-in to your project by running
npm run sign-in
The storage definition is found in src/dms.yml
Run the following commands to apply it:
npm run upsert-space
npm run upsert-storage
There are two files neccessary to create a queryable GraphQL API.
It's the schema defined in src/api.graphql
and then there is the src/bindings.yml
file to define the implementation of this schema.
Run the following commands to create an API and version.
npm run upsert-api
npm run upsert-api-version
Docs:
npm run generate-docs
Python SDK:
npm run generate-python-sdk
JS SDK:
npm run generate-js-sdk
Navigate here after replacing your-project and your-cluster to find a query explorer: