https://github.com/jdockerty/go-dummy-api
A Go wrapper around the JSONPlaceHolder REST API, useful in learning various services, such as Kubernetes and AWS.
https://github.com/jdockerty/go-dummy-api
api-wrapper aws dummy-api go golang jsonplaceholder-api kubernetes learning-by-doing
Last synced: about 2 months ago
JSON representation
A Go wrapper around the JSONPlaceHolder REST API, useful in learning various services, such as Kubernetes and AWS.
- Host: GitHub
- URL: https://github.com/jdockerty/go-dummy-api
- Owner: jdockerty
- Created: 2020-08-20T18:59:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-28T22:43:49.000Z (over 5 years ago)
- Last Synced: 2025-03-17T03:44:55.102Z (about 1 year ago)
- Topics: api-wrapper, aws, dummy-api, go, golang, jsonplaceholder-api, kubernetes, learning-by-doing
- Language: Go
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Dummy API
A dummy API that enables you to test and utilise a multitude of other services, such as Kubernetes, AWS ECS, and many others which require you to use an application to gain a working understanding of them.
Various use cases will be pushed into particular branches from my own usages.
The available routes are:
* `/health` is expected to return a 200 response and the ID of the currently running service, this is useful when managing multiple instances of the API, to see that you are directed to different endpoints.
* `/users` will return a list of all users, this piggybacks from the `jsonplaceholder` API to provide a list of random users attached to other data.
* `/users/` will return the data for a single user, specified by ID.
The server listens for requests on port 8080.