- Simple exchange rate app for EUR/INR.
- Using exchangerate.host service to fetch the rates
- Stores and Displays the history of conversions
- Laravel 10
- Livewire v2
- Bootstrap 5
git clone [email protected]: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
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
- Fallback Service if exchangerate.host is impacted
- Figure out ideal ttl for cache
- Refresh History table on form submit
- Tests
Reach out to via Twitter: @jigar_dhulla