Download tutorial as e-book ⚡️
Loading...

Clone the Repo

You can use this course by watching the videos and reading, but you can also clone the finished repo to see the finished result in action straight away. Or, to follow along starting from a skeleton project, clone the repo and checkout the
follow-along branch:

# If using GitHub with SSH
git clone git@github.com:hasura/ndc-typescript-learn-course.git
# OR if using GitHub with HTTPS
git clone https://github.com/hasura/ndc-typescript-learn-course.git

To checkout the follow-along branch:

git checkout follow-along

Then install the dependencies:

npm install

You can build and run the connector, when you need to, with:

npm run build && node dist/index.js serve --configuration configuration.json

However, you can run nodemon to watch for changes and rebuild automatically:

npm run watch

Note: the configuration.json file is a pre-configured file which gives the connector information about the data source.

Did you find this page helpful?
Start with GraphQL on Hasura for Free
  • ArrowBuild apps and APIs 10x faster
  • ArrowBuilt-in authorization and caching
  • Arrow8x more performant than hand-rolled APIs
Promo
footer illustration
Brand logo
© 2024 Hasura Inc. All rights reserved
Github
Titter
Discord
Facebook
Instagram
Youtube
Linkedin