{"id":18351141,"url":"https://github.com/simagix/grails3","last_synced_at":"2025-08-02T09:13:10.744Z","repository":{"id":114864707,"uuid":"61036474","full_name":"simagix/grails3","owner":"simagix","description":"Exploring Grails and Groovy","archived":false,"fork":false,"pushed_at":"2016-06-13T17:58:57.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T00:45:11.781Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","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/simagix.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":"2016-06-13T12:58:41.000Z","updated_at":"2016-06-13T13:40:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"26978bd2-8011-43a4-b71f-69c07b82d8bc","html_url":"https://github.com/simagix/grails3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simagix/grails3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simagix%2Fgrails3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simagix%2Fgrails3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simagix%2Fgrails3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simagix%2Fgrails3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simagix","download_url":"https://codeload.github.com/simagix/grails3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simagix%2Fgrails3/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268361776,"owners_count":24238530,"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-02T02:00:12.353Z","response_time":74,"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":[],"created_at":"2024-11-05T21:29:37.955Z","updated_at":"2025-08-02T09:13:10.717Z","avatar_url":"https://github.com/simagix.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grails3\nExploring Grails and Groovy\n\n### Instsallation\n```\n$ brew install groovy\n$ brew install gradle\n$ brew install grails\n```\n\n### Version\n```\n$ which grails\n | Grails Version: 3.1.8\n | Groovy Version: 2.4.6\n | JVM Version: 1.8.0_65\n```\n \n### Create Grails Application\n```\n$ grails create-app grails3 -profile=angular -profile=rest-api\n```\n\n### Use Eclipse IDE\n```\nhttp://grails.asia/grails-3-tutorial-setup-your-windows-development-environment\nFile-\u003eImport...-\u003eGradle(STS)-\u003eGradle(STS) Project\n \tBuild Model\n```\n\n### Demos\n```\n$ curl -XGET http://localhost:8080/employees\n[]\n\n$ curl -XPOST -d '{\"name\": \"Ken Chen\"}' http://localhost:8080/employees\n{\"total\":2,\"_embedded\":{\"errors\":[{\"message\":\"Property [name] of class [class grails3.Employees] cannot be null\",\"path\":\"/employees/index\",\"_links\":{\"self\":{\"href\":\"http://localhost:8080/employees/index\"}}},{\"message\":\"Property [company] of class [class grails3.Employees] cannot be null\",\"path\":\"/employees/index\",\"_links\":{\"self\":{\"href\":\"http://localhost:8080/employees/index\"}}}]}}\n\n$ curl -XPOST -H 'Content-Type:application/json' -d '{\"name\": \"Ken Chen\", \"company\": \"Ericsson\"}' http://localhost:8080/employees\n{\"id\":1,\"company\":\"Ericsson\",\"name\":\"Ken Chen\"}\n\n$ curl -XPUT -H 'Content-Type:application/json' -d '{\"name\": \"Ken Chen\", \"company\": \"Ericsson\", \"country\": \"US\"}' http://localhost:8080/employees/1\n{\"id\":1,\"company\":\"Ericsson\",\"name\":\"Ken Chen\"}\n ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimagix%2Fgrails3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimagix%2Fgrails3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimagix%2Fgrails3/lists"}