Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wasilak/currencies-calculator
Simple currencies calculator in AngularJS
https://github.com/wasilak/currencies-calculator
Last synced: about 8 hours ago
JSON representation
Simple currencies calculator in AngularJS
- Host: GitHub
- URL: https://github.com/wasilak/currencies-calculator
- Owner: wasilak
- Created: 2015-06-21T17:47:05.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T16:26:50.000Z (22 days ago)
- Last Synced: 2024-10-24T20:48:10.910Z (22 days ago)
- Language: TypeScript
- Size: 1.5 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Currencies Calculator
[![Code Climate](https://codeclimate.com/github/wasilak/currencies-calculator/badges/gpa.svg)](https://codeclimate.com/github/wasilak/currencies-calculator)
### Background
From time to time I need to see how much would cost something i.e. on Amazon in my local currency, but I didn't find anything simple enough or written with good usability or on web page without hundreds of tracking software... and so on. To summarize - I wasn't happy with what was available and I decided to put together something really simple but getting the job done.### Techs
I decided to use [**AngularJS**](https://angularjs.org/), but as I needed to get current currencies values from NBP (Poland National Bank) every day, I soon stumbled upon CORS restrictions, and no wonder. That is why I decided to write Go application which gets data in **JSON** format an returns for Angular app.In order to make all of this nice for an eye and responsive for mobile devices I used [**Foundation 5 by Zurb**](http://foundation.zurb.com/) framework.
All dependencies are installed with **Yarn** with `yarn install` and `go build`.
Deployment:
`go build .`Building docker:
```# if needed:
# docker buildx create --use --append --name mybuilder unix:///var/run/docker.sockdocker buildx build --tag quay.io/wasilak/currencies-calculator:latest --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 . --push --builder mybuilder
```