Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pagopa/pagopa-poc-quarkus

Example of a Quarkus microservice
https://github.com/pagopa/pagopa-poc-quarkus

pagopa-shared

Last synced: about 15 hours ago
JSON representation

Example of a Quarkus microservice

Awesome Lists containing this project

README

        

# poc-quarkus

Example of a Quarkus microservice

The microservice replicates the functionalities of the project [pagopa-reporting-orgs-enrollment](https://github.com/pagopa/pagopa-reporting-orgs-enrollment).

- [Api documentation](#api-documentation-๐Ÿ“–)
- [Technology stack](#technology-stack-๐Ÿ’ป)
- [Start project locally](#start-project-locally-๐Ÿš€)
- [Develop project locally](#develop-project-locally-๐Ÿ’ป)
- [Contributors](#contributors-๐Ÿ‘ฅ)

---

## Api documentation ๐Ÿ“–

See the [Openapi here](https://github.com/pagopa/poc-quarkus/openapi/openapi.json)

---

## Technology stack ๐Ÿ’ป
- Java 11
- Quarkus
- Hibernate
- JPA

---

## Start native project locally ๐Ÿš€

### Prerequites
- Java 11
- GraalVM
### Run
- Launch `generate_native_image_local.sh` from the project folder
- Execute `docker-compose up` to boot the native application and the database
---

## Develop project locally ๐Ÿ’ป

### Prerequites
Install and run azurite:
- Install: `docker pull mcr.microsoft.com/azure-storage/azurite`
- Run: `docker run -p 10000:10000 -p 10001:10001 -p 10002:10002 mcr.microsoft.com/azure-storage/azurite`
### Run
`mvn quarkus:dev -Dquarkus.profile=docker`
### Testing ๐Ÿงช
Select `r` after launching the application in developer mode with the previous command or launch `mvn quarkus:test -Dquarkus.profile=docker`.

## Contributors ๐Ÿ‘ฅ

Made with โค๏ธ by PagoPa S.p.A

### Mainteiners

See `CODEOWNERS` file