Skip to content

victor-optimizely/feedback-subgraph

Repository files navigation

Contents

/src:

  • /resolvers: Directory for implementing resolvers. resolvers.ts should import any of your *.resolvers.ts definitions and be the single source for exported resolvers. These are used in server.ts to initialize the server.
  • /types: Directory for defining your GQL types. Note: GQL types should be following the *.type.ts naming conventions to avoid conflicts with typescript type definitions which I've chosen to Capitalize to distinguish from any GQL files. You could also choose to create a separate directory for them.
  • /datasources: A directory to implement any necessary data sources.
  • server.ts: Exports a createServer function with the type definitions and resolvers. Also used by jest to create a server during testing.
  • index.ts: Where the magic happens. This creates a server instance and invokes the listener.

/tests: Includes spec files for tests.

TODO

  • change to docker application
  • fix tests
  • hook up additional queries

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published