Calculate live currency and foreign exchange rates with this free currency converter. You can convert currencies and precious metals with this currency calculator.
-
-
access the main-page of the website : http://server-ip:81/
-
access the log-page : http://server-ip:81/log
-
-
-
via Terraform (Run on AWS)
Terraform apply -auto-approve
using this command will start an EC2 instanse and run all system (Currency converter )
you can access the website using the ip of the ec2 and the port 81
Terraform destroy -auto-approve
will remove and clean everything
-
via Docker
sudo docker-compose -f docker-compose.yaml up
using this command will start 3 containers :
- mysql
- backend
- frontend
you access the system using this link : http://localhost:81/
-
via Kubernetes (k8s)
kubelet apply -f ./k8s
- backend-deployment.yaml
- frontend-deployment.yaml
- mysql-deployment.yaml
-
Jenkins
pipeline {
agent any stages { stage('Build') { steps { sh 'git clone https://github.com/shadifadila2018/fursa_final_project.git || exit 0' sh 'sudo docker-compose -f ./fursa_final_project/docker-compose.yaml up' } } }
}
-
-
- Diagram :
-
FrontEnd :
Flask-API Communicate with backend over port : 5000
-
BackEnd :
Flask-API Communicate with mysql over port : 3306
-
MySQL :
- user : root
- password: root
- db-name : mydb