Skip to content

slimdestro/exchange-rate-golang-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exchange-rate-golang-php

Exchange rate of last 10 days:Backend(Golang) | UI(PHP/HTML) | Deployment(Docker + K8 + TF)

Go PHP

Loom shoot

Watch the video

Setup

./go run backend/exchangeServer.go
Backend:http://localhost:8080
Frontend:http://localhost

APIs:
- Sync : /[GET]http://localhost:8080/syncRates
- Fetch : /[GET]http://localhost:8080/frontend

Run as container:

docker-compose up -d

Stop container:

docker-compose down  

Run on kubernetes:

cd kubemenifests
kubectl apply -f{all 4 files one by one}
this will deploy and create servicve for both app

Via Terraform:

theres a Terraform folder in root. just need to run main.tf
terraform init 
terraform apply 

Author

Checkout my Website