{"id":18291158,"url":"https://github.com/rhecosystemappeng/mongo-quickstart","last_synced_at":"2025-04-05T10:30:57.609Z","repository":{"id":46821138,"uuid":"408980721","full_name":"RHEcosystemAppEng/mongo-quickstart","owner":"RHEcosystemAppEng","description":"Showcases a simple Fruitshop microservice using MongoDB as the backing database","archived":false,"fork":false,"pushed_at":"2023-03-20T14:37:17.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-21T02:51:18.464Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RHEcosystemAppEng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-21T21:35:43.000Z","updated_at":"2022-08-09T13:19:58.000Z","dependencies_parsed_at":"2023-01-19T02:50:23.888Z","dependency_job_id":null,"html_url":"https://github.com/RHEcosystemAppEng/mongo-quickstart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RHEcosystemAppEng%2Fmongo-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RHEcosystemAppEng%2Fmongo-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RHEcosystemAppEng%2Fmongo-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RHEcosystemAppEng%2Fmongo-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RHEcosystemAppEng","download_url":"https://codeload.github.com/RHEcosystemAppEng/mongo-quickstart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247324504,"owners_count":20920659,"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","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":[],"created_at":"2024-11-05T14:13:23.976Z","updated_at":"2025-04-05T10:30:57.188Z","avatar_url":"https://github.com/RHEcosystemAppEng.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mongodb-quickstart Project\n\nThis project uses Quarkus, the Supersonic Subatomic Java Framework.\n\nIf you want to learn more about Quarkus, please visit its website: https://quarkus.io/ .\n\n## Deploying in openshift environment\n\n```oc \u003cyour-project-name\u003e```\n\n```oc create -f deployment.yaml```\n\n## Running the application in dev mode\n\nYou can run your application in dev mode that enables live coding using:\n```shell script\n./mvnw compile quarkus:dev\n```\n\n\u003e **_NOTE:_**  Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.\n\n## Packaging and running the application\n\nThe application can be packaged using:\n```shell script\n./mvnw package\n```\nIt produces the `quarkus-run.jar` file in the `target/quarkus-app/` directory.\nBe aware that it’s not an _über-jar_ as the dependencies are copied into the `target/quarkus-app/lib/` directory.\n\nIf you want to build an _über-jar_, execute the following command:\n```shell script\n./mvnw package -Dquarkus.package.type=uber-jar\n```\n\nThe application is now runnable using `java -jar target/quarkus-app/quarkus-run.jar`.\n\n## Push image to quay.io and deploy it on OpenShift\n\nTo deploy the image to quay.io:\n```shell script\nmvn clean package -DskipTests -Dquarkus.container-image.push=true\n```\n\nFollowing properties (in application.properties) define the image settings: \n```shell script\nquarkus.container-image.registry\nquarkus.container-image.group\nquarkus.container-image.name\nquarkus.container-image.tag\n```\n\nYou can deploy the app (from quay.io) in OpenShift using following command:\n```shell\noc apply -f target/kubernetes/kubernetes.yml\n```\nAbove yml file is auto-generated with the property values defined previously.\n\n## Creating a native executable\n\nYou can create a native executable using: \n```shell script\n./mvnw package -Pnative\n```\n\nOr, if you don't have GraalVM installed, you can run the native executable build in a container using: \n```shell script\n./mvnw package -Pnative -Dquarkus.native.container-build=true\n```\n\nYou can then execute your native executable with: `./target/mongodb-quickstart-1.0.0-SNAPSHOT-runner`\n\nIf you want to learn more about building native executables, please consult https://quarkus.io/guides/maven-tooling.html.\n\n## Related Guides\n\n- RESTEasy JAX-RS ([guide](https://quarkus.io/guides/rest-json)): REST endpoint framework implementing JAX-RS and more\n\n## Provided Code\n\n### RESTEasy JAX-RS\n\nEasily start your RESTful Web Services\n\n[Related guide section...](https://quarkus.io/guides/getting-started#the-jax-rs-resources)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhecosystemappeng%2Fmongo-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhecosystemappeng%2Fmongo-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhecosystemappeng%2Fmongo-quickstart/lists"}