Digital Quest Starter Kit
The Digital Quest Starter Kit provides you as Inquiry API developers with a base framework for delivery new GraphQL API modules. You can also use this as a playground to familiarise yourself with the process of creating a new IGTB Digital Inquiry module using GraphQL.
[TOC]
Setup
Getting started
Setting up a new Module
Usage
Queries
You can browse the schema using the GraphiQL documentation for information regarding queries and types
Tests
Tests can be run using the npm command below. Environment settings for the test server, database and logging can be modified in the .env configuration file in the ./test folder. Tests are run using Mocha and Chai with Istanbul providing coverage reporting.
Refer here for additional documentation around test scenarios and cases
# Run tests with coverage reporting
npm test
A detailed coverage report with annotated source code is available in the coverage folder. Navigate through the report using index.html in this folder.
Npm scripts
Npm scripts file quick info. here
Pipeline
Bitbucket pipeline file quick info. here
Dependencies
Who do I talk to?
Please contact
prasad.venkatraman@intellectdesign.com, snoweel.pereira@intellectdesign.com, chandramohan.p@intellectdesign.com
for any queries or support required.