This repository is a companion to the tutorial for building a Hasura DDN connector in TypeScript designed to help you create a data connector in TypeScript for Hasura DDN.
You can follow along with this tutorial to build a connector from scratch or reference the completed version.
You have two main options:
- Follow Along: Use the
index.ts
file and implement the features step by step as you follow the tutorial. - Reference Finished Code: Check the
finishedIndex.ts
file to see the completed version of the connector.
All necessary npm packages are already included in the repository.
- index.ts: The main file where you will implement the data connector.
- finishedIndex.ts: The completed version of the connector, for reference.
-
Clone the Repository:
git clone https://github.com/hasura/ndc-typescript-learn-course.git cd ndc-typescript-learn-course
-
Install Dependencies:
npm install
-
Start Developing:
-
To build and run the connector and watch for changes:
npm run dev
-
Alternatively, you can build and run the connector without watching for changes:
npm run build && node dist/index.js serve --configuration .
-
- Hasura DDN Specification
- TypeScript Data Connector SDK
- Hasura DDN Connectors Hub
- Hasura DDN Open Source Engine
Feel free to open issues or submit pull requests if you find any bugs or have improvements!
Happy coding! Follow along in the tutorial to build your own data connector and explore the powerful capabilities of Hasura DDN. If you have any questions, feel free to open an issue in the repository.