{"id":18813253,"url":"https://github.com/melloware/quarkus-primereact","last_synced_at":"2025-08-19T13:14:31.510Z","repository":{"id":59981272,"uuid":"519775428","full_name":"melloware/quarkus-primereact","owner":"melloware","description":"Quarkus REST Server + PrimeReact UI","archived":false,"fork":false,"pushed_at":"2025-08-15T21:00:37.000Z","size":15721,"stargazers_count":31,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-15T22:43:02.017Z","etag":null,"topics":["monorepo","orval","primereact","quarkus","react","tanstack-react-query","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/melloware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["melloware"]}},"created_at":"2022-07-31T12:51:48.000Z","updated_at":"2025-08-15T21:00:34.000Z","dependencies_parsed_at":"2023-02-16T07:30:23.089Z","dependency_job_id":"c8a57afa-f6fb-4f29-bff8-9ab2dab99895","html_url":"https://github.com/melloware/quarkus-primereact","commit_stats":null,"previous_names":["melloware/quarkus-primereact","melloware/quarkus-monorepo"],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/melloware/quarkus-primereact","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melloware%2Fquarkus-primereact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melloware%2Fquarkus-primereact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melloware%2Fquarkus-primereact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melloware%2Fquarkus-primereact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melloware","download_url":"https://codeload.github.com/melloware/quarkus-primereact/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melloware%2Fquarkus-primereact/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271158605,"owners_count":24709100,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["monorepo","orval","primereact","quarkus","react","tanstack-react-query","typescript"],"created_at":"2024-11-07T23:36:52.595Z","updated_at":"2025-08-19T13:14:31.485Z","avatar_url":"https://github.com/melloware.png","language":"TypeScript","funding_links":["https://github.com/sponsors/melloware","https://www.paypal.me/mellowareinc"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cdiv style=\"display: flex; align-items: center; justify-content: center; gap: 8px;\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/quarkiverse/.github/main/assets/images/quarkus.svg\" alt=\"Quarkus logo\" style=\"height: 70px; width: auto;\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/quarkiverse/.github/main/assets/images/plus-sign.svg\" alt=\"Plus sign\" style=\"height: 70px; width: auto;\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/melloware/quarkus-primereact/main/src/main/webui/public/static/images/primereact-dark.svg\" alt=\"mDNS logo\" style=\"height: 70px; width: auto;\"\u003e\n  \u003c/div\u003e\n\n  \u003ch1\u003eQuarkus PrimeReact\u003c/h1\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)\n[![Actions CI](https://img.shields.io/github/actions/workflow/status/melloware/quarkus-primereact/build.yml?branch=main\u0026logo=GitHub\u0026style=for-the-badge)](https://github.com/melloware/quarkus-primereact/actions/workflows/build.yml)\n[![Quarkus](https://img.shields.io/badge/quarkus-power-blue?logo=quarkus\u0026style=for-the-badge)](https://github.com/quarkusio/quarkus)\n![React.js](https://img.shields.io/badge/react-%2320232a.svg?style=for-the-badge\u0026logo=react\u0026logoColor=%2361DAFB)\n![Typescript](https://img.shields.io/badge/typescript-%23323330.svg?style=for-the-badge\u0026logo=typescript\u0026logoColor=%23F7DF1E) \n\n**If you like this project, please consider supporting me ❤️**\n\n[![GitHub Sponsor](https://img.shields.io/badge/GitHub-FFDD00?style=for-the-badge\u0026logo=github\u0026logoColor=black)](https://github.com/sponsors/melloware)\n[![PayPal](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge\u0026logo=paypal\u0026logoColor=white)](https://www.paypal.me/mellowareinc)\n\nThis [monorepo](https://en.wikipedia.org/wiki/Monorepo) is a minimal CRUD service exposing a couple of endpoints over REST,\nwith a front-end based on React so you can play with it from your browser.\n\nWhile the code is surprisingly simple, under the hood this is using:\n\n- [Quarkus REST](https://quarkus.io/guides/rest) for REST API endpoints with OpenAPI documentation\n- [Quarkus REST Problem](https://github.com/quarkiverse/quarkus-resteasy-problem) for consistent REST API error handling\n- [Quarkus WebSockets Next](https://quarkus.io/guides/websockets-next-tutorial) for real-time WebSocket communication\n- [Quarkus Quinoa](https://github.com/quarkiverse/quarkus-quinoa) to handle allowing this monorepo to serve React and Java code\n- [Hibernate ORM with Panache](https://quarkus.io/guides/hibernate-orm-panache) to perform the CRUD operations on the database\n- [PostgreSQL](https://www.postgresql.org/) database; automatically starts an embedded DB\n- [Liquibase](https://www.liquibase.com/) to automatically update database\n- [React + PrimeReact](https://primereact.org/) for a top notch user interface including lazy datatable\n- [React Websocket](https://github.com/robtaussig/react-use-websocket) to handle websocket connections\n- [TanStack Form](https://tanstack.com/form/latest) to validate user input data\n- [TanStack Query](https://tanstack.com/query/latest) for powerful asynchronous state management for TypeScript\n- [Orval](https://orval.dev/) to generate TanStack Query client Typescript from the OpenAPI definition\n- [Zod](https://zod.dev/) for TypeScript-first schema validation\n\n## Requirements\n\nTo compile and run this demo you will need:\n\n- JDK 17+\n- Apache Maven\n\n## Code Generation\n\nThis project uses [Orval](https://orval.dev/) to generate the [TanStack Query](https://tanstack.com/query/latest) client Typescript from the OpenAPI definition.\n\n[![Code Generation](https://github.com/melloware/quarkus-primereact/blob/main/src/test/resources/dev-flow.png)](https://github.com/melloware/quarkus-primereact)\n\n\n## Developing\n\n### Live coding with Quarkus\n\nThe Maven Quarkus plugin provides a development mode that supports\nlive coding. To try this out:\n\n```bash\n$ ./mvnw quarkus:dev\n```\n\nWatch as it starts up a temporary PostreSQL database just for this session. In this mode you can make changes to the code and have the changes immediately applied, by just refreshing your browser.\n\n\u003e :bulb:\nHot reload works add a new REST endpoint and see it update in realtime. Try it!\n\nNow open your web browser to http://localhost:8080/ to see it in action.\n\n[![Quarkus Monorepo](https://github.com/melloware/quarkus-primereact/blob/main/src/test/resources/quarkus-primereact-screen.png)](https://github.com/melloware/quarkus-primereact)\n\n## Building\n\n### Run Quarkus PrimeReact in JVM mode\n\nWhen you're done iterating in developer mode, you can run the application as a\nconventional jar file.\n\nFirst compile it:\n\n```bash\n$ ./mvnw clean package\n```\n\nThen run it with:\n\n```bash\n$ java -jar ./target/quarkus-app/quarkus-run.jar\n```\n\nOr build it as a single executable JAR file (known as an uber-jar):\n\n```bash\n$ ./mvnw clean package -Dquarkus.package.type=uber-jar\n```\n\nThen run it with:\n\n```bash\n$ java -jar ./target/quarkus-primereact-{version}-runner.jar\n```\n\nNavigate to:\n\u003chttp://localhost:8080/\u003e\n\n\n### Run Quarkus PrimeReact in Docker\n\nYou can easily build a Docker image of this application with the following command:\n\n```bash\n$ ./mvnw -Pdocker\n```\n\nYou will be able to run this binary directly where ${version} is the current project version:\n\n```bash\n$ docker run -i --rm -p 8000:8000 melloware/quarkus-primereact:latest\n```\n\n\u003e :bulb:\nNow observe the time it took to boot, and remember: that time was mostly spent to generate the tables in your database and import the initial data.\n\n## See it in your browser\n\nNavigate to: \u003chttp://localhost:8080/index.html\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelloware%2Fquarkus-primereact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelloware%2Fquarkus-primereact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelloware%2Fquarkus-primereact/lists"}