Sign inSign up

avolpe/cotizacion

By avolpe

•Updated over 6 years ago

Simple service that query and shows various currency current exchange in Paraguay.

Image
0

3.0K

avolpe/cotizacion repository overview

⁠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.

⁠Endpoints

By default the server starts at port 8080.

  • Current currencies: /api/exchange/
  • Today exchange of Currency: /api/exchange/{currency}

⁠Develop endpoints

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

  • Init exchange places: /api/places/init
  • Query current exchange: /api/places/doQuery

⁠CI and CD

This project is in an continuous delivery:

  1. The code is hosted in Github
  2. When a push occur, the docker ci⁠ is trigger and a new image is generated (avolpe/cotizacion)
  3. A web hook is invoked to the server
  4. The server pull the new image and restart

⁠TODO

Tag summary

Content type

Image

Digest

Size

109.7 MB

Last updated

over 6 years ago

docker pull avolpe/cotizacion