{"id":17204011,"url":"https://github.com/ivanceras/boilerplate","last_synced_at":"2025-06-20T03:07:15.241Z","repository":{"id":23169224,"uuid":"26525101","full_name":"ivanceras/boilerplate","owner":"ivanceras","description":"Boilerplate code using ivanceras orm","archived":false,"fork":false,"pushed_at":"2014-12-04T10:18:42.000Z","size":196,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-15T17:45:29.789Z","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/ivanceras.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":"2014-11-12T07:51:02.000Z","updated_at":"2014-12-04T10:18:42.000Z","dependencies_parsed_at":"2022-08-21T19:50:16.535Z","dependency_job_id":null,"html_url":"https://github.com/ivanceras/boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ivanceras/boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanceras%2Fboilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanceras%2Fboilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanceras%2Fboilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanceras%2Fboilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivanceras","download_url":"https://codeload.github.com/ivanceras/boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanceras%2Fboilerplate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260747196,"owners_count":23056491,"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-10-15T02:20:16.489Z","updated_at":"2025-06-20T03:07:10.223Z","avatar_url":"https://github.com/ivanceras.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Boilerplate\n===========\n\nBoilerplate code using ivanceras orm\n\n```bash\n\ngit clone https://github.com/ivanceras/boilerplate\n\n```\n\n\nCreate a database\n\n```bash\nsudo su postgres\npsql\n\nALTER ROLE postgres with password 'p0stgr3s'\n\nCREATE DATABASE acme WITH OWNER postgres ENCODING 'utf8';\n\n```\n\nLoad the sample Seed Data dump located in `boilerplate/src/main/resources` to the newly created database `acme`\n\n```bash\n\ncd boilerplate/src/main/resources\npsql -U postgres -W -h localhost -d acme -f acme_dump.sql\n\n```\n\nimport the project as Maven project in Eclipse.\n\nChange the configuration in `src/main/java/com/acme/AcmeConfiguration` as needed. For simplicity, we just put all the generated code in the same source folder as your other codes.\n\n\nAs you can see, there is an error in the some of the class files, this is because these sample classes is manipulating class files that are not yet generated in your workspace.\nWhen I wrote those classes I have had the generated class files already.\n\n\nMake sure in [`pom.xml`](https://github.com/ivanceras/boilerplate/blob/master/pom.xml), the ivanceras orm dependency is accessible, or else, you may need to checkout and build the dependencies yourself.\n\nRun [`AcmeCodeGenerator`] (https://github.com/ivanceras/boilerplate/blob/master/src/main/java/com/acme/AcmeCodeGenerator.java)\n\nRefresh your the project tree.\n\nYou should see that errors will be gone.\n\nYou can now start manipulating the DAO objects like the sample in [`ProductController`] (https://github.com/ivanceras/boilerplate/blob/master/src/main/java/com/acme/ProductController.java).\n\n\nEnjoy playing.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanceras%2Fboilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivanceras%2Fboilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanceras%2Fboilerplate/lists"}