Skip to content

aleksmark/simple-exchange-rate-calculator

Repository files navigation

Simple exchange rate calculator

Fetch the exchange rates from the API and store it in database

alt text

Environment

  • PHP 7.0
  • Laravel 5.5
  • Mysql 5.7

Prerequisites

Docker

https://docs.docker.com/engine/installation/

Docker-compose

https://docs.docker.com/v1.11/compose/install/

Note: you should be able to run docker without sudo

Installation

Clone the project

$ git clone [email protected]:aleksmark/simple-exchange-rate-calculator.git
$ cd simple-exchange-rate-calculator

Setup the laravel env

$ cp .env.example .env

Build the docker environment

$ docker-compose up -d

Provision the application

$ ./post-deploy.sh

Usage

docker exec -it web php artisan exchange:get-exchange-rates

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages