examples

module
v0.0.0-...-2d70200 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2023 License: MIT

README

Examples

This directory contains examples of different things one can do with a custom gateway to fit their needs.

Each example contains a gateway and one or more services that showcase the example. To run each example, start each service in its own terminal. For example, the run the auth example, you'll have to start 3 separate processes, gateway.go, users.go, and todo.go. All of them can be run with go run <filename>.

Please keep in mind that the non-gateway services do not have to be written in go. All of these examples work regardless of the language you chose to write your APIs.

List of Examples:

  • Hello World: A simple proof of concept
  • E-Commerce (Coming Soon): A more realistic example
  • Authentication and Authorization: An overview of how to support auth behind a gateway
  • Watch Remote Schemas (Coming Soon): A way to support CD workflows

Directories

Path Synopsis
auth module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL