https://github.com/qaware/cloud-native-weather-golang
A simple weather REST service using Golang, Gin and GORM.
https://github.com/qaware/cloud-native-weather-golang
cloud-native docker flux gin-framework gorm-orm hacktoberfest kustomize microservice skaffold tilt
Last synced: 5 months ago
JSON representation
A simple weather REST service using Golang, Gin and GORM.
- Host: GitHub
- URL: https://github.com/qaware/cloud-native-weather-golang
- Owner: qaware
- License: mit
- Created: 2022-06-27T22:20:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-05T02:41:03.000Z (over 2 years ago)
- Last Synced: 2024-12-25T16:42:16.994Z (9 months ago)
- Topics: cloud-native, docker, flux, gin-framework, gorm-orm, hacktoberfest, kustomize, microservice, skaffold, tilt
- Language: Go
- Homepage:
- Size: 504 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://sonarcloud.io/summary/new_code?id=qaware_cloud-native-weather-golang)
# Cloud-native Weather Service with Golang
This example implements a simple weather REST service using Golang, GORM and Gin.

## Build and run locally
```bash
$ tilt up
$ skaffold dev --no-prune=false --cache-artifacts=false
```## Exercise the application
```bash
$ curl -X GET http://localhost:18080/api/weather\?city\=Rosenheim
{"city":"Rosenheim","weather":"Clear"}$ curl -X GET http://localhost:18080/
```## Lab Instructions
The instructions for the Cloud-native Experience Lab workshop can be found in [docs/README.md](docs/README.md).
## Maintainer
M.-Leander Reimer (@lreimer),
## License
This software is provided under the Apache v2.0 open source license, read the `LICENSE`
file for details.