Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cornersyrup/miniature-octo-vienna
Demonstration of microservice with Terraform, Docker and OpenAPI
https://github.com/cornersyrup/miniature-octo-vienna
docker golang microservice openapi terraform
Last synced: 6 days ago
JSON representation
Demonstration of microservice with Terraform, Docker and OpenAPI
- Host: GitHub
- URL: https://github.com/cornersyrup/miniature-octo-vienna
- Owner: CornerSyrup
- License: mit
- Created: 2022-05-03T14:18:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-03T11:01:57.000Z (about 2 months ago)
- Last Synced: 2024-11-01T07:02:31.075Z (16 days ago)
- Topics: docker, golang, microservice, openapi, terraform
- Language: HCL
- Homepage: https://medium.com/@kleinc./going-further-on-iac-for-microservices-with-terraform-and-openapi-bbd2c2fdca65
- Size: 87.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Miniature Octo Vienna
![](https://img.shields.io/github/license/KleinChiu/miniature-octo-vienna)
The name has nothing to do with the repo, GitHub suggested.
This repository intends to demonstrate an approach to achieving a modularized microservice system.
By bundling the service source code, API documentation and infrastructure codes to decouple the constraint across services.Have a look at [my medium blog post](https://medium.com/@kleinc./going-further-on-iac-for-microservices-with-terraform-and-openapi-bbd2c2fdca65) for more detail.
## Installation
```sh
cd infrastructure ; npm install
npm run openapi # bundle OpenAPI definitions into a single file
npm run terraform # construct the server group and api gateway on Docker
```