Development
The step required to compile this application are stored in the main Dockerfile.
Back end
- You need java 8
- Execute in the root
./mvnw package
Front end
- You need npm
- Execute in the
client
foldernpm 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:
- The code is hosted in Github
- When a push occur, the docker ci is trigger and a new image is generated (avolpe/cotizacion)
- A web hook is invoked to the server
- The server pull the new image and restart
Links
- Current version: https://www.volpe.com.py
TODO
- Make the database a volume (now it restart every time)
- Add license pag with all the licenced used:
- https://lukaszadam.com/illustrations
- All from package.json
- All from pom.xml