sidv93 / graphql-rest-poc

A graphql endpoint aggregating multiple REST microservices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

graphql-rest-poc

A graphql endpoint aggregating multiple REST microservices

Steps to run

  • Make sure you have docker, docker-compose and NodeJS installed
  • Go to traefik directory and run
	sudo docker-compose up
  • Come back and navigate to the apps directory and run
	sudo docker-compose build
        sudo docker-compose up
  • Now Traefik and the REST services should be up
  • To start the GraphQL service, go to apps/graphql and run
	npm run start

To do

The GraphQL server should be in a docker container. This service was developer using apollo-server package. This package does not give us the ability to deploy in a specific url. See comment. We would have to use apollo-server-express package for this.

About

A graphql endpoint aggregating multiple REST microservices


Languages

Language:JavaScript 94.9%Language:Dockerfile 3.6%Language:Python 1.5%