|
1 month ago | |
---|---|---|
public | 1 year ago | |
src | 1 month ago | |
.browserslistrc | 1 year ago | |
.eslintrc.js | 1 month ago | |
.gitignore | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
babel.config.js | 1 month ago | |
jest.config.js | 1 month ago | |
package-lock.json | 1 month ago | |
package.json | 1 month ago | |
tsconfig.json | 1 year ago | |
vue.config.js | 1 month ago |
Simple currency converter written in Vue.js
Features:
Notes:
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.
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.
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.
npm install
npm run serve
npm run build
npm run test
npm run lint