https://github.com/tapiocaaberta/urbam-deaths
https://github.com/tapiocaaberta/urbam-deaths
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/tapiocaaberta/urbam-deaths
- Owner: TapiocaAberta
- License: apache-2.0
- Created: 2020-05-19T18:46:13.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-09-01T23:27:36.000Z (almost 4 years ago)
- Last Synced: 2025-01-14T06:28:00.279Z (over 1 year ago)
- Language: Java
- Size: 1.03 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# urbam-deaths project
This project uses Quarkus, the Supersonic Subatomic Java Framework.
If you want to learn more about Quarkus, please visit its website: https://quarkus.io/ .
## Before Running
Before running you should to change the property value `file.path` from `urbam-deaths/src/main/resources/application.properties` and put your path;
## Running the application in dev mode
You can run your application in dev mode that enables live coding using:
```
./mvnw compile quarkus:dev -Dquarkus.args='2019,2020,2018 1,2,3,4 json'
```
* The first argument is a list with the year that you want to get information;
* The second argument is a list with the months that you want to get information. You should pass the ordinal month values 1,2,3,4 .. 12;
* The third argument is the file format. You should choose between `json` or `csv` file;
You can also, pass no args and perform a `POST` call to fill your database, also configured at `urbam-deaths/src/main/resources/application.properties`
```
./mvnw compile quarkus:dev
```
We have swagger-ui configured [access on localhost](http://localhost:8080/swagger-ui) and refer the endpoints