Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuriytkach/monosync
Simple application to sync bank statements from Monobank UA
https://github.com/yuriytkach/monosync
java monobank monobank-api quarkus
Last synced: 2 months ago
JSON representation
Simple application to sync bank statements from Monobank UA
- Host: GitHub
- URL: https://github.com/yuriytkach/monosync
- Owner: yuriytkach
- License: mit
- Created: 2020-10-04T20:28:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-16T01:46:28.000Z (5 months ago)
- Last Synced: 2024-09-16T02:58:49.958Z (5 months ago)
- Topics: java, monobank, monobank-api, quarkus
- Language: Java
- Homepage:
- Size: 399 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MonoSync
[![CircleCI](https://circleci.com/gh/yuriytkach/monosync/tree/master.svg?style=shield)](https://circleci.com/gh/yuriytkach/monosync/tree/master) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/c36ff84d04734c02878d1bc25165b089)](https://www.codacy.com/gh/yuriytkach/monosync/dashboard?utm_source=github.com&utm_medium=referral&utm_content=yuriytkach/monosync&utm_campaign=Badge_Grade) [![Codacy Badge](https://app.codacy.com/project/badge/Coverage/c36ff84d04734c02878d1bc25165b089)](https://www.codacy.com/gh/yuriytkach/monosync/dashboard?utm_source=github.com&utm_medium=referral&utm_content=yuriytkach/monosync&utm_campaign=Badge_Coverage)
Application to download bank statements from Monobank UA using its [API](https://api.monobank.ua).
Before using the app login to https://api.monobank.ua and generate your token.
## Running the application in dev mode
You can run your application in dev mode that enables live coding using:
```shell script
./gradlew quarkusDev
```> **_NOTE:_** Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.
## Packaging and running the application
The application can be packaged using:
```shell script
./gradlew build
```
It produces the `quarkus-run.jar` file in the `build/quarkus-app/` directory.
Be aware that it’s not an _über-jar_ as the dependencies are copied into the `build/quarkus-app/lib/` directory.The application is now runnable using `java -jar build/quarkus-app/quarkus-run.jar`.
If you want to build an _über-jar_, execute the following command:
```shell script
./gradlew build -Dquarkus.package.type=uber-jar
```The application, packaged as an _über-jar_, is now runnable using `java -jar build/*-runner.jar`.
## Creating a native executable
You can create a native executable using:
```shell script
./gradlew build -Dquarkus.package.type=native
```Or, if you don't have GraalVM installed, you can run the native executable build in a container using:
```shell script
./gradlew build -Dquarkus.package.type=native -Dquarkus.native.container-build=true
```You can then execute your native executable with: `./build/cube-redemption-lock-prepare-runner-0.0.1-runner`
If you want to learn more about building native executables, please consult https://quarkus.io/guides/gradle-tooling.