obukhov / gateway

An api gateway for graphql services. https://gateway.nautilus.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nautilus/gateway

CI Checks Coverage Status Go Report Card

A standalone service designed to consolidate your graphql APIs into one endpoint.

For a guide to getting started read this post. For full documentation visit the gateway homepage.

Running the Executable

The simplest way to run a gateway is to download the executable from the latest release on GitHub and then run it directly on your machine:

$ ./gateway start --port 4000 --services http://localhost:3000,http://localhost:3001

Alternatively, install it with the go command to your Go bin and run it:

$ go install github.com/nautilus/gateway/cmd/gateway@latest
$ gateway start --port 4000 --services http://localhost:3000,http://localhost:3001

This will start a server on port 4000 that wraps over the services running at http://localhost:3000 and http://localhost:3001. For more information on possible arguments to pass the executable, run ./gateway --help.

Versioning

This project is built as a go module and follows the practices outlined in the spec. Please consider all APIs experimental and subject to change until v1 has been released at which point semantic versioning will be strictly followed. Before then, minor version bumps denote an API breaking change.

About

An api gateway for graphql services. https://gateway.nautilus.dev/

License:MIT License


Languages

Language:Go 99.6%Language:HCL 0.4%