Simple currency converter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Christoph Miksche e321b84d46 feat: update dependencies 1 month ago
public publish 1 year ago
src feat: update dependencies 1 month ago
.browserslistrc init 1 year ago
.eslintrc.js feat: update dependencies 1 month ago
.gitignore init 1 year ago
LICENSE publish 1 year ago publish 1 year ago
babel.config.js feat: update dependencies 1 month ago
jest.config.js feat: update dependencies 1 month ago
package-lock.json feat: update dependencies 1 month ago
package.json feat: update dependencies 1 month ago
tsconfig.json publish 1 year ago
vue.config.js feat: update dependencies 1 month ago


Simple currency converter written in Vue.js


  • Convert between the following currencies:
    • EUR
    • USD
    • CHF
    • GBP
    • JPY
    • CAD
  • Use the following fixed rates:
    • EUR to USD: 1,1956
    • EUR to CHF: 1,1689
    • EUR to GBP: 0,8848
    • USD to JPY: 111,4500
    • CHF to USD: 1,0223
    • GBP to CAD: 1,6933
  • Alternatively use the which gets the exchange rates from the European Central Bank


  • Input value is in american format
  • Output value is in german + selected currency format
  • The "fixed rates" mode is restricted on the given pairs. Other pairs could be calculated using the different pairs but it wasn't specified so this program does nothing.

Why Vue.js?

I haven't used Vue.js for more than one year. Angular is much more familiar to me, but Vue.js is small and should offer all the features this project needs (Angular would be overkill for such a little project). Also, with TypeScript bindings Vue.js shouldn't feel like a big distance from Angular.

Why TypeScript?

Because this project will work with numbers and false interpretations of a number could lead to really big problems. I also don't want to call "parseFloat()" on every number. TypeScript adds a extra layer of security.

Why RxJS?

Reactive extensions are a common way to work with async data in various programming languages. There are several libraries for languages like Java, JavaScript, PHP, Python, ... The project is really big, many developers know how to work with it - so it's a good tested library. Because we work with exchange rates, which can change every second, we have to update the data in a aync way and here RxJS comes in.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your unit tests

npm run test

Lints and fixes files

npm run lint