aVolpe / cotizacion

Portal to find current exchange rates in Paraguay
https://cotizaciones.volpe.com.py
MIT License
12 stars 6 forks source link
currencies exchange exchange-rate

Cotizaciones del Paraguay

Codacy Badge Build Status Quality Gate FOSSA Status

Simple webpage and API that provides exchange information of current exchange Rates of currencies in relation to the Paraguayan Guarani.

The API gather information from various popular exchange sites in Paraguay, currently includes:

Endpoints

By default the server starts at port 8080.

Develop endpoints

This endpoints are only available in develop mode (develop spring profile), and are disabled in production

Development

The step required to compile this application are stored in the main Dockerfile.

Back end

  1. You need java 8
  2. Execute in the root ./mvnw package

Front end

  1. You need npm
  2. Execute in the client folder npm run build

CronJobs

The system query the data every 10 minutes, and are only enabled in production profile.

CI and CD

This project is in an continuous delivery:

  1. The code is hosted in Github
  2. On a push (or a merge request), the travis CI is trigger and a new image is generated (avolpe/cotizacion)
  3. A web hook is invoked to the server (www.volpe.com.py)
  4. The server pull the new image and restart

Links

TODO

License

This work is released under The MIT License

FOSSA Status