This service is a GraphQL implementation built using express-graphql
that exposes a basic API (an endpoint that returns an organization's department data). The purpose of this service is to be integrated into a GraphQL Mesh server along with other APIs.
- Navigate to the service's folder and retrieve its dependencies:
cd PATH_TO_CLONED_PROJECT/graphql-api-service
yarn
- Generate GraphQL types, build typescript files and run the service:
yarn generate
yarn build
yarn start
-
Verify that the service is accessible at
http://localhost:<GRAPHQL_API_SERVICE_PORT>/graphql
Note: the port value is defined in the environment file