https://github.com/slimdestro/exchange-rate-golang-php
live exchange rates using Golang and display in PHP frontend
https://github.com/slimdestro/exchange-rate-golang-php
aws docker docker-compose exchange-rates golang kubernetes mysql php8 terraform
Last synced: 3 months ago
JSON representation
live exchange rates using Golang and display in PHP frontend
- Host: GitHub
- URL: https://github.com/slimdestro/exchange-rate-golang-php
- Owner: slimdestro
- Created: 2023-07-25T22:36:17.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-28T04:41:47.000Z (almost 3 years ago)
- Last Synced: 2025-06-03T11:29:24.432Z (about 1 year ago)
- Topics: aws, docker, docker-compose, exchange-rates, golang, kubernetes, mysql, php8, terraform
- Language: Go
- Homepage: https://github.com/slimdestro/exchange-rate-golang-php
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# exchange-rate-golang-php
#### Exchange rate of last 10 days:Backend(Golang) | UI(PHP/HTML) | Deployment(Docker + K8 + TF)
## Loom shoot
[](https://www.loom.com/share/c02cf6d2b2694751af7caa4961165381?sid=0ea56c1b-bb60-45a2-b06a-a18fa883c034)
## Setup
```sh
./go run backend/exchangeServer.go
```
```sh
Backend:http://localhost:8080
Frontend:http://localhost
APIs:
- Sync : /[GET]http://localhost:8080/syncRates
- Fetch : /[GET]http://localhost:8080/frontend
```
## Run as container:
```sh
docker-compose up -d
```
Stop container:
```sh
docker-compose down
```
## Run on kubernetes:
```sh
cd kubemenifests
kubectl apply -f{all 4 files one by one}
this will deploy and create servicve for both app
```
## Via Terraform:
```sh
theres a Terraform folder in root. just need to run main.tf
terraform init
terraform apply
```
## Author
[Checkout my Website](https://www.modcode.dev)