HackTheTunnels / hack-the-tunnels-volunteer-test-RohanSreelesh

hack-the-tunnels-volunteer-test-RohanSreelesh created by GitHub Classroom
0 stars 0 forks source link

Add GraphQL API #28

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.