{"id":21923783,"url":"https://github.com/soujava/payara-cloud","last_synced_at":"2026-05-03T16:34:03.571Z","repository":{"id":68473767,"uuid":"246693178","full_name":"soujava/payara-cloud","owner":"soujava","description":null,"archived":false,"fork":false,"pushed_at":"2020-03-11T22:33:59.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-22T11:19:19.435Z","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/soujava.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-03-11T22:33:21.000Z","updated_at":"2020-03-11T22:34:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"c78ee259-7759-4f93-a341-810d45d54a24","html_url":"https://github.com/soujava/payara-cloud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/soujava/payara-cloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fpayara-cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fpayara-cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fpayara-cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fpayara-cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soujava","download_url":"https://codeload.github.com/soujava/payara-cloud/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fpayara-cloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32577123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-28T21:12:47.536Z","updated_at":"2026-05-03T16:34:03.554Z","avatar_url":"https://github.com/soujava.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mongodb-demo\n\nA JNoSQL Atemis project with Java SE using Document API with MongoDB as driver implementation.\n\n![MongoDB Project](http://www.jnosql.org/img/logos/mongodb.png)\n\n\n**Mongodb**: MongoDB is a free and open-source cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with schemas.\n\n\nTo run this project a MongoDB instance is required, so you can use either a local instalation or using Docker.\n\n\n## Manual instalation\n\nFollow the instructions in: https://docs.mongodb.com/manual/installation/\n\n\n## Using Docker\n\n![Docker](https://www.docker.com/sites/default/files/horizontal_large.png)\n\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## Start the Application\n\n* `mvn clean package payara-micro:bundle`\n* `java -jar target/microprofile-microbundle.jar`\n\n\n## Run the tests\n\n\n* `curl -X POST -H 'Content-Type: application/json' -i http://localhost:8080/users --data '{\"birthday\":\"2020-03-10\",\"languages\":[\"Portuguese\"],\"nickname\":\"otaviojava\",\"salary\":\"USD 10000\"}'`\n* `curl -X POST -H 'Content-Type: application/json' -i http://localhost:8080/users --data '{\"birthday\":\"1980-03-10\",\"languages\":[\"Portuguese\", \"English\"],\"nickname\":\"elderjava\",\"salary\":\"EUR 100000\"}'`\n* `{\"birthday\":\"1800-03-10\",\"languages\":[\"Portuguese\", \"English\"],\"nickname\":\"brjavamana\",\"salary\":\"USD 100000000\"}`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoujava%2Fpayara-cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoujava%2Fpayara-cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoujava%2Fpayara-cloud/lists"}