{"id":21154947,"url":"https://github.com/forge/angularjs-addon","last_synced_at":"2025-08-20T12:38:17.490Z","repository":{"id":14943687,"uuid":"17668276","full_name":"forge/angularjs-addon","owner":"forge","description":"JBoss Forge AngularJS Scaffold Addon","archived":false,"fork":false,"pushed_at":"2016-08-09T15:32:03.000Z","size":1068,"stargazers_count":19,"open_issues_count":0,"forks_count":15,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-07-09T11:35:34.086Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"facebook/ios-snapshot-test-case","license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/forge.png","metadata":{"files":{"readme":"README.asciidoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-12T13:43:35.000Z","updated_at":"2021-08-07T05:49:38.000Z","dependencies_parsed_at":"2022-09-24T01:01:15.872Z","dependency_job_id":null,"html_url":"https://github.com/forge/angularjs-addon","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/forge/angularjs-addon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fangularjs-addon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fangularjs-addon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fangularjs-addon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fangularjs-addon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forge","download_url":"https://codeload.github.com/forge/angularjs-addon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fangularjs-addon/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267375818,"owners_count":24077289,"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-07-27T02:00:11.917Z","response_time":82,"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-20T11:08:31.465Z","updated_at":"2025-07-27T15:07:30.180Z","avatar_url":"https://github.com/forge.png","language":"Java","readme":"== AngularJS Addon for JBoss Forge 2\n:idprefix: id_ \n\nimage:https://travis-ci.org/forge/angularjs-addon.svg?branch=master[\"Build Status\", link=\"https://travis-ci.org/forge/angularjs-addon\"]\n\nThe angularjs-addon enables developers to automate several tasks in the construction of applications that use AngularJS, in JBoss Forge.\nThis addon provides *standalone* functionality, and it can be re-used in other addons.\n        \n=== Dependencies:\n=== Depends on\n[options=\"header\"]\n|===\n|Addon |Exported |Optional\n|scaffold-spi\n|no\n|no\n|javaee\n|no\n|no\n|templates\n|no\n|no\n|text\n|no\n|no\n|convert\n|no\n|no\n|parser-java\n|no\n|no\n|cdi\n|no\n|no\n|===\n\n== Setup\nThis Addon requires the following installation steps.\n\n=== Add configuration to pom.xml\nTo use this addon, you must add it as a dependency in the *pom.xml* of your `forge-addon` classified artifact:\n(Make sure the dependency is put all the way to the left, and uses 3 spaces for indentation of GAV)\n[source,xml]\n----\n\u003cdependency\u003e\n   \u003cgroupId\u003eorg.jboss.forge.addon\u003c/groupId\u003e\n   \u003cartifactId\u003eangularjs\u003c/artifactId\u003e\n   \u003cclassifier\u003eforge-addon\u003c/classifier\u003e\n   \u003cversion\u003e${version}\u003c/version\u003e\n\u003c/dependency\u003e\n----\n== Features\n* Scaffold web-apps from JPA entities. The generated scaffold uses a thick-client based on AngularJS, and a JAX-RS RESTful backend.\n\n== Usage\n\n=== Prerequsites\n\nJBoss Tools with Forge 2.4.1, or JBoss Forge-CLI 2.4.1.\n\n=== Install the addon:\n\nAssuming JBoss Tools with Forge, or Forge-CLI is installed:\n\n*(JBT)*\n\nCtrl+5. Run the \"Install the addon from Git\" command, using these coordinates: https://github.com/forge/angularjs-addon.git\n\n*(Forge-CLI)*\n\n----\n$ addon-install-from-git --url https://github.com/forge/angularjs-addon.git\n----\n\n=== Create a new project\n\n*(JBT)*\n\nCtrl+5. Run the \"Project: New\" command. Create a new web application, named 'hello-angular'.\n\n*(Forge-CLI)*\n\n----\n$ project-new --named hello-angular\n----\n\n=== Setup JPA\n\n*(JBT)*\n\nCtrl+5. Run the \"JPA: Setup\" command. Defaults should be sufficient.\n\n*(Forge-CLI)*\n\n----\n$ jpa-setup\n----\n\n=== Create a few JPA entities with fields\n\n*(JBT)*\n\nCtrl+5. Run the \"JPA: New Entity\" command. Create a new entity (with an auto-generated Id) named 'Customer'.\n\nSelect the newly created Customer Java source file in the navigator. Ctrl+5. Run the \"JPA: New Field\" command. Create a new field of type String in the Customer entity named 'fullName'.\n\nCtrl+5 again and re-run the same command. Create a new field of type int in the Customer entity named 'age'.\n\n\n*(Forge-CLI)*\n\n----\n$ jpa-new-entity --named Customer\n$ jpa-new-field --named fullName\n$ jpa-new-field --named age --type int\n----\n\n=== Setup Bean Validation and create new constraints\n\n*(JBT)*\n\nCtrl+5. Run the \"Constraint: Setup\" command. Choose the \"Generic Java EE\" BV provider to use.\n\nCtrl+5. Run the \"Constraint: Add\" command. Create a NotNull constraint on the fullName field.\n\nCtrl+5. Run the \"Constraint: Add\" command. Create a Min constraint on the age field, with min value of 0.\n\n*(Forge-CLI)*\n\n----\n$ constraint-setup --providers Generic\\ Java\\ EE\n$ constraint-add --onProperty fullName --constraint NotNull\n$ constraint-add --onProperty age --constraint Min --value 0\n----\n\n\n=== Setup and generate the AngularJS scaffold\n\n*(JBT)*\n\nCtrl+5. Run the \"Scaffold: Setup\" command. Choose the \"AngularJS\" type to use.\n\nCtrl+5. Run the \"Scaffold: Generate\" command. Choose the \"AngularJS\" type to use. Select the Customer entity to scaffold. (I'll rework this bit across scaffold providers when fixing FORGE-1501 and FORGE-1731).\n\nOn completion, a JAX-RS resource that can handle requests and responses of media type application/json should be created, in conjunction with the AngularJS views.\n\n*(Forge-CLI)*\n\n----\n$ scaffold-setup --provider AngularJS\n$ scaffold-generate --provider AngularJS --targets org.hello.angular.model.Customer\n----\n\nThis app can now be deployed to JBoss EAP.\n\n== Issue Tracker\n\nWe do not use GitHub issues for issue tracking.\nPlease raise issues in the https://issues.jboss.org//secure/CreateIssueDetails!init.jspa?pid=12312020\u0026components=12317568\u0026issuetype=1\u0026priority=3[JBoss JIRA Issue tracker]. The project and component is *FORGEPLUGINS* and *AngularJS Scaffold* respectively. We also track feature requests in the same space.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforge%2Fangularjs-addon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforge%2Fangularjs-addon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforge%2Fangularjs-addon/lists"}