{"id":18826218,"url":"https://github.com/otaviojava/payara-nosql","last_synced_at":"2026-01-21T05:30:17.618Z","repository":{"id":141704475,"uuid":"288209688","full_name":"otaviojava/payara-nosql","owner":"otaviojava","description":"Payara NoSQL with cloud","archived":false,"fork":false,"pushed_at":"2020-08-20T13:31:23.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T05:28:49.810Z","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/otaviojava.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-17T14:59:07.000Z","updated_at":"2020-08-22T20:16:37.000Z","dependencies_parsed_at":"2024-04-19T05:31:11.267Z","dependency_job_id":null,"html_url":"https://github.com/otaviojava/payara-nosql","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/otaviojava%2Fpayara-nosql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otaviojava%2Fpayara-nosql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otaviojava%2Fpayara-nosql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otaviojava%2Fpayara-nosql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/otaviojava","download_url":"https://codeload.github.com/otaviojava/payara-nosql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239763670,"owners_count":19692800,"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-08T01:03:22.134Z","updated_at":"2026-01-21T05:30:17.573Z","avatar_url":"https://github.com/otaviojava.png","language":"Java","readme":"# Payara with NoSQL\n\n\u003ca href=\"https://console.platform.sh/projects/create-project/?template=https://github.com/otaviojava/payara-nosql/blob/master/.platform.template.yaml\u0026utm_campaign=deploy_on_platform?utm_medium=button\u0026utm_source=affiliate_links\u0026utm_content=https://github.com/otaviojava/payara-nosql/blob/master/.platform.template.yaml\" target=\"_blank\" title=\"Deploy with Platform.sh\"\u003e\u003cimg src=\"https://platform.sh/images/deploy/deploy-button-lg-blue.svg\"\u003e\u003c/a\u003e\n\n![Platform.sh and Payara](https://otaviojava.files.wordpress.com/2020/03/payara-psh-book.jpg?w=189)\n\nThe NoSQL DB is a database that provides a mechanism for storage and retrieval of data, which is modeled by means other than the tabular relations used in relational databases. These databases have speed and high scalability. This kind of database is becoming more popular in several applications, which include financial ones. As a result of the increase, the number of users and vendors is increasing too. In the Jakarta EE world, there is the [Jakarta NoSQL](https://projects.eclipse.org/projects/ee4j.nosql).\n  \nWe'll create a similar rest application, but using [MongoDB](https://docs.platform.sh/configuration/services/mongodb.html) instead of relational database.\n\n## Reduce Complexity with Middleware as a Service\n\nAs a Platform as a Service, or PaaS, Platform.sh automatically manages everything your application needs in order to run. That means you can, and should, view your infrastructure needs as part of your application, and version-control it as part of your application.\n\nPlatform.sh is a PaaS built especially for continuous deployment with the goal of making it easier to move your project to cloud-computing to deploy anywhere and anytime. Using the Maven Archetype, you can create a REST project with Payara Micro and move the project to Platform.sh.\n\nIn this guide:\n\n* Hello World with Payara Micro and Platform.sh\n* Payara Platform with JPA\n* Payara Platform with NoSQL\n* Payara Micro, Platform.sh and Microservices\n\n## Using Docker\n\n![Docker](https://www.docker.com/sites/default/files/horizontal_large.png)\n\n1. Install docker: https://www.docker.com/\n1. https://store.docker.com/images/mongo\n1. Run docker command\n1. Run MongoDB: verify MongoDB image name with the command `docker images`, it can be mongodb or mongo, and then execute this command \n   * `docker run -d --name mongodb-instance -p 27017:27017 mongo`\n\n![MongoDB Project](http://www.jnosql.org/img/logos/mongodb.png)\n\n\n## How to Execute\n\n```shell\nmvn clean package payara-micro:bundle\njava -jar -Xmx512m target/microprofile-microbundle.jar \n```\n\n## Execute\n\n```shell \ncurl --location --request POST 'http://localhost:8080/fishes' \\\n--header 'Content-Type: application/json' \\\n--header 'Content-Type: application/javascript' \\\n--data-raw '{\"name\": \"payara\"}'\n```\n\n```shell\ncurl --location --request GET 'http://localhost:8080/fishes'\n```\n\n## Reference\n\n[Get your free e-book](https://www.payara.fish/page/payara-platform-and-paas-with-platform-sh/)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotaviojava%2Fpayara-nosql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fotaviojava%2Fpayara-nosql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotaviojava%2Fpayara-nosql/lists"}