{"id":19595439,"url":"https://github.com/meta-magic/datanucleus-jdo-examples","last_synced_at":"2025-04-27T15:34:33.410Z","repository":{"id":100692241,"uuid":"102857347","full_name":"meta-magic/DataNucleus-JDO-Examples","owner":"meta-magic","description":"DataNucleus JDO Examples ","archived":false,"fork":false,"pushed_at":"2018-03-09T12:10:55.000Z","size":73,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T01:11:14.613Z","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/meta-magic.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":"2017-09-08T12:06:16.000Z","updated_at":"2021-09-24T09:07:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"e025d400-14f7-46a8-ac21-e042f6e28643","html_url":"https://github.com/meta-magic/DataNucleus-JDO-Examples","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/meta-magic%2FDataNucleus-JDO-Examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meta-magic%2FDataNucleus-JDO-Examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meta-magic%2FDataNucleus-JDO-Examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meta-magic%2FDataNucleus-JDO-Examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meta-magic","download_url":"https://codeload.github.com/meta-magic/DataNucleus-JDO-Examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251162983,"owners_count":21545857,"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-11T08:47:01.747Z","updated_at":"2025-04-27T15:34:33.393Z","avatar_url":"https://github.com/meta-magic.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DataNucleus-JDO-Examples\nDataNucleus JDO Examples \n\nProcedure to run application\n1. mvn clean compile\n2. mvn -e datanucleus:enhance\n3. mvn spring-boot:run\n\nTest Rest Calls \n1. Add Product - \ncurl -i -X POST -H \"Content-Type:application/json\" http://localhost:8080/Product/save -d '{ \"category\" : \"Electronics\", \"name\" : \"TV\", \"description\" : \"LG LED Smart TV\", \"price\" : 41000 }'\n\n2. See Products - \ncurl http://localhost:8080/Product/findAll\ncurl http://localhost:8080/Product/findById/1\n\n3. Add Product to Shopping Cart \ncurl -i -X POST -H \"Content-Type:application/json\" http://localhost:8080/ShoppingCart/save -d '{\"customerId\":\"Customer1\",\"items\":[{\"productId\":1,\"quantity\":1},{\"productId\":2,\"quantity\":2}]}'\n\n4. See Shopping Cart\ncurl http://localhost:8080/ShoppingCart/findAll\ncurl http://localhost:8080/ShoppingCart/findById/e4b0e87f-7678-490b-838c-cc64bca3c2c8\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeta-magic%2Fdatanucleus-jdo-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeta-magic%2Fdatanucleus-jdo-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeta-magic%2Fdatanucleus-jdo-examples/lists"}