-
Notifications
You must be signed in to change notification settings - Fork 0
dmanchon/api-goteway
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A study on API gateway design ============================= - Goal: learn a bit of Go by implement a naive API gateway in golang in less than 100LOC - How to run: `make run` - How to build: `make build` - Example interaction: Everything after the prefix path will be passed to the target service. ``` $ make run $ curl -i "http://localhost:8080/dogs/woof.json" # this calls the dogs service $ curl -i "http://localhost:8080/cats/meow" # this calls the cats service $ curl -i "http://localhost:8080/birds/see/blackbird" # this fails since there is no config for "/birds" prefix ```
About
A simple API gateway in less than 100LOC
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published