Hack-The-Tunnels-8 / hack-the-tunnels-Your-Local-Vegetables

0 stars 0 forks source link

Add GraphQL API #21

Open hackthetunnelsbot[bot] opened 12 months ago

hackthetunnelsbot[bot] commented 12 months ago

Description:

Create a GraphQL API for the service. This GraphQL API will be exposed on the route POST /api/graphql.

To satisfy this challenge create atleast one GraphQL query and one GraphQL mutation.

Add a new graphql folder within the service/src/infrastructure that contains your GraphQL schema, resolvers, and mutations.

Be sure to reuse the existing services code within the service/src/services folder.

Acceptance Criteria:

A new endpoint POST /api/graphql is exposed with atleast one query and one mutation accessible.