Hack-The-Tunnels-8 / hack-the-tunnels-soja

hack-the-tunnels-soja created by GitHub Classroom
0 stars 0 forks source link

Add GraphQL API #19

Open hackthetunnelsbot[bot] opened 1 year ago

hackthetunnelsbot[bot] commented 1 year 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.