- Simple exchange rate app for EUR/INR.
- Using exchangerate.host service to fetch the rates
- Stores and Displays the history of conversions
This repo was featured in Laravel Daily youtube channel
- Video 1: https://www.youtube.com/watch?v=YSZqSUe4m7I
- Video 2: https://www.youtube.com/watch?v=5cSTC3AG3tQ
- Laravel 10
- Livewire v3
- Bootstrap 5
git clone git@github.com:jigarakatidus/exchange-rate.git
cd exchange-rate
cp .env.example .env
- Change
DB_HOST
tomysql
- Change
CACHE_DRIVER
toredis
to use redis service, default isfile
driver - Change
REDIS_HOST
toredis
- Create Exchange Rate Host API Key and add the same to
EXCHANGE_RATE_HOST_ACCESS_KEY
docker run --rm -u "$(id -u):$(id -g)" -v $(pwd):/var/www/html -w /var/www/html laravelsail/php82-composer:latest composer install --ignore-platform-reqs
./vendor/bin/sail up -d
./vendor/bin/sail artisan key:generate
./vendor/bin/sail artisan migrate
Visit: http://localhost
Using Laravel Sail, a wrapper around Docker Compose.
It has:
Serving the application
Database
Caching
Reach out to via Twitter: @jigar_dhulla