Skip to content

nautilus/gateway

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date
Apr 4, 2023
Jun 22, 2024
Feb 9, 2019
Jun 22, 2024
Apr 4, 2023
Jul 2, 2022
Jan 5, 2019
Apr 4, 2023
Jul 4, 2022
Apr 4, 2023
Jun 22, 2024
Apr 4, 2023
Apr 24, 2024
Mar 10, 2023
Apr 24, 2024
Jun 22, 2024
Jun 22, 2024
Jun 26, 2022
Mar 20, 2023
Mar 20, 2023
Jun 8, 2023
Jun 8, 2023
Feb 25, 2022
Oct 22, 2022
Jun 22, 2024
Jul 2, 2022
Apr 24, 2024
Jul 2, 2022

Repository files navigation

nautilus/gateway CI Checks Coverage Status Go Report Card Go Reference

A library and standalone service that composes 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 an executable for your operating system 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

Note: Instead of ./gateway, use the file path to the release you downloaded. macOS users should use the darwin release file.

For more information on possible arguments to pass the executable, run ./gateway --help.

Build from source

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.

Currently supports Go Modules using Go 1.16 and above.