simple currency converter
v.0.0.2
사용자가 외부 API에서 가져온 실시간 환율을 사용하여 통화를 변환 할 수있는 PHP 기반 통화 변환기 도구. 이 도구는 PHP, HTML, JQuery, Ajax, JSON, Bootstrap, CSS 및 MySQL로 구축됩니다. 이 응용 프로그램은 정확한 통화 변환을 제공하고 사용자 친화적 인 인터페이스에서 결과를 표시하도록 설계되었습니다.
주제 : php , mysql , blog , ajax , bootstrap , jquery , css , currency conversion , external api integration , api integration

저장소 복제 :
git clone https://github.com/yourusername/simple-currency-converter.git프로젝트 디렉토리로 이동하십시오.
cd simple-currency-converter데이터베이스 설정 :
image_gallery 라는 MySQL 데이터베이스를 만듭니다.mysql -u yourusername -p currency_converter < db/database.sql데이터베이스 구성 업데이트 :
config.sample.php config.php 로 복사합니다. cp config.sample.php config.phpconfig.php 열고 데이터베이스 구성 세부 정보를 업데이트하십시오.API 통합 설정 :
config.php 파일을 업데이트하십시오. // API configuration
define( ' API_URL ' , ' https://api.exchangerate-api.com/v4/latest/ ' ) ;
define( ' API_KEY ' , ' your_api_key_here ' ) ;디렉토리 권한 :
chmod 777 assets/uploadsconfig.php 열고 데이터베이스 구성 세부 정보를 업데이트하십시오.개발 서버 시작 :
php -S localhost:8000응용 프로그램 액세스 :
http://localhost:8000 으로 이동하십시오.다음은 간단한 통화 컨버터 응용 프로그램을위한 기본 파일 구조입니다.
simple-currency-converter/
│
├── index.html
├── db/
│ └── database.sql
├── include/
│ ├── config.sample.php
│ └── db.php
├── assets/
│ ├── css/
│ │ └── style.css
│ └── js/
│ │ └── script.js
├── src/
│ ├── fetch-rates.php
│ ├── convert.php
│ └── get-currencies.php
├── README.md
└── .gitignore