https://github.com/hvalfangst/chi-api
Golang hero API with Chi-Router & Go-PG deployed on k8s
https://github.com/hvalfangst/chi-api
docker go-chi go-pg golang k8s kubernetes
Last synced: 3 months ago
JSON representation
Golang hero API with Chi-Router & Go-PG deployed on k8s
- Host: GitHub
- URL: https://github.com/hvalfangst/chi-api
- Owner: hvalfangst
- Created: 2023-03-04T20:43:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-05T21:35:22.000Z (almost 3 years ago)
- Last Synced: 2025-03-20T04:43:58.831Z (9 months ago)
- Topics: docker, go-chi, go-pg, golang, k8s, kubernetes
- Language: Go
- Homepage:
- Size: 6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hero API with Chi & Go-Pg deployed on K8s
## Requirements
* x86-64
* Linux
* Docker
* k8s
## Creating resources
The shell script "up.sh" is responsible for building the local Docker image and creating requested resources, which are defined in our k8s manifest.
```
sh up.sh
```
## Destroying resources
The shell script "down.sh" frees up allocated resources.
```
sh down.sh
```
## Routes
### Heroes
GET http://localhost:8080/heroes
GET http://localhost:8080/heroes{id}