Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wurde/krakend-golang
A test of KrakenD aggregator capabilities.
https://github.com/wurde/krakend-golang
Last synced: 5 days ago
JSON representation
A test of KrakenD aggregator capabilities.
- Host: GitHub
- URL: https://github.com/wurde/krakend-golang
- Owner: wurde
- License: mit
- Created: 2021-10-12T22:04:57.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-12T22:16:38.000Z (about 3 years ago)
- Last Synced: 2024-06-21T04:53:05.322Z (5 months ago)
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KrakenD for GoLang Servers
A test of KrakenD aggregator capabilities.
## Usage
```bash
# Validate the krakend configuration
krakend check --config krakend.json --test-gin-routes --debug# Start the backend servers
go run .# Start the api gateway server
krakend run --config krakend.json --debug
```## Frontend for Backend
```md
curl -i http://localhost:8080/frontpage#=> {
#=> "comments":[
#=> {"id":"1","message":"First comment!!!","postId":"1"},
#=> {"id":"2","message":"Beat me by 1ns.","postId":"1"}
#=> ],
#=> "posts":[
#=> {"id":"1","title":"Lorem Ipsum1"},
#=> {"id":"2","title":"Lorem Ipsum2"}
#=> ]
#=> }
```## License
This project is __FREE__ to use, reuse, remix, and resell.
This is made possible by the [MIT license](/LICENSE).