Skip to content

This is a simple app that allows user to convert currencies with live rates from European central Bank.

Notifications You must be signed in to change notification settings

frankhn/currencyfy

Repository files navigation

currencyfy

This is a simple currency converter which basically helps in converting from one currency to another,

Currencyfy supports few of the currencies listed by the european central bank euro exhange reference rates.

Demo

Demo

Getting started

Below are the instructions to get a copy of this project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  NodeJS, Docker, 

Technologies

  ReactJS, Docker, Nginx web server, Azure, Azure-cli, docker-compose, Typescript

Installing

First, clone the app,

  RUN npm i

Running the app, assuming you already have Docker installed on your system

  npm run docker

Will build an image

  npm run currencyfy

Will run the created image

Deployment

This app was deployed on azure, you may choose to deploy else where too.

Azure deployement procedure

We will be using azure CLI in most cases.

  • First things first, make sure you created an account on Azure Cloud
  • Once your done, Download Azure CLI on your machine.
Time for the real work
  • The first thing to do here is to create a resource group within you terminal

    az group create --name currencfyResourceGroup --location ukwest
    
  • With the resource group we created we can then create a container registry to host our docker image.

    az acr create --resource-group currencfyResourceGroup --name currencyfyContainerRegistryT0023 --sku Basic
    
  • Login to that registry.

    az acr login --name currencyfyContainerRegistryT0023
    
    • With a docker image we build earlier, tag the image with thi command

    Push the image

    docker push currencyfyContainerRegistryT0023.azurecr.io/currencyfy:v1
    
  • I added an azure pipeline to this repo. Feel free to try it out By raising a pull request.

Authors

  • Frank Harerimana - Initial work - Frankhn

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • European Central Bank

About

This is a simple app that allows user to convert currencies with live rates from European central Bank.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published