{"id":18378421,"url":"https://github.com/choonchernlim/choonchernlim-archetype-webapp","last_synced_at":"2026-04-15T10:37:25.865Z","repository":{"id":35374801,"uuid":"39638016","full_name":"choonchernlim/choonchernlim-archetype-webapp","owner":"choonchernlim","description":"Groovy-based Maven WAR archetype using Spring Boot 2.x with the capability of generating static code analysis reports for Continuous Integration servers.","archived":false,"fork":false,"pushed_at":"2022-12-07T17:42:26.000Z","size":11395,"stargazers_count":2,"open_issues_count":20,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-15T04:44:36.144Z","etag":null,"topics":["groovy","java","maven","maven-archetype","react","single-page-app","web-app","webpack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/choonchernlim.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-24T14:19:48.000Z","updated_at":"2018-08-03T14:22:38.000Z","dependencies_parsed_at":"2023-01-15T19:45:35.876Z","dependency_job_id":null,"html_url":"https://github.com/choonchernlim/choonchernlim-archetype-webapp","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/choonchernlim/choonchernlim-archetype-webapp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Fchoonchernlim-archetype-webapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Fchoonchernlim-archetype-webapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Fchoonchernlim-archetype-webapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Fchoonchernlim-archetype-webapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/choonchernlim","download_url":"https://codeload.github.com/choonchernlim/choonchernlim-archetype-webapp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Fchoonchernlim-archetype-webapp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31837687,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T10:26:52.245Z","status":"ssl_error","status_checked_at":"2026-04-15T10:26:51.649Z","response_time":63,"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":["groovy","java","maven","maven-archetype","react","single-page-app","web-app","webpack"],"created_at":"2024-11-06T00:33:39.018Z","updated_at":"2026-04-15T10:37:25.849Z","avatar_url":"https://github.com/choonchernlim.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# choonchernlim-archetype-webapp\n\nGroovy-based Maven WAR archetype using Spring Boot with the capability of generating static code analysis reports for Continuous Integration servers. \n\n### Back-End Stack\n\nHandles app security and generates Restful web services for front-end stack to consume. Spring Boot serves as the backbone of this archetype.\n\n|  Key Dependencies                                                             | Description                                                             |\n|-------------------------------------------------------------------------------|-------------------------------------------------------------------------|\n|[Swagger](https://swagger.io/swagger-ui/)                                      |RESTful web services documentation tool and viewer                       |\n|[Apache Tomcat](https://tomcat.apache.org/)                                    |Embedded JEE server (for local development)                              |\n|[H2](http://www.h2database.com/html/main.html)                                 |Embedded database (for local development)                                |\n|[Spring](http://projects.spring.io/spring-framework/)                          |Dependency injection, handles plumbing code                              |\n|[Spring Security](http://projects.spring.io/spring-security/)                  |App security                                                             |\n|[Spring Data JPA](http://projects.spring.io/spring-data-jpa/)                  |JPA-based repositories                                                   |\n|[Hibernate](http://hibernate.org/orm/)                                         |ORM framework                                                            |\n|[Spock](https://github.com/spockframework/spock)                               |Groovy test cases                                                        |\n|[Spring Boot CI](https://github.com/choonchernlim/spring-boot-ci)              |Static code analysis reports for Continuous Integration servers          |\n\n### Front-End Stack\n\nTrue single-page app from [front-end-stack](https://github.com/choonchernlim/front-end-stack).\n\n## Prerequisites\n\n* Java version = 8.\n* Maven version \u003e= 3.3.x.\n\n## Latest Release\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.github.choonchernlim\u003c/groupId\u003e\n  \u003cartifactId\u003echoonchernlim-archetype-webapp\u003c/artifactId\u003e\n  \u003cversion\u003e2.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nFor example:\n\n```bash\nmvn archetype:generate \n-DinteractiveMode=false \n-DarchetypeGroupId=com.github.choonchernlim \n-DarchetypeArtifactId=choonchernlim-archetype-webapp \n-DarchetypeVersion=2.0.0\n-DgroupId=com.github.choonchern.testProject \n-DartifactId=testProject \n-Dversion=1.0.0-SNAPSHOT\n```\n\n## Getting Started\n\n* Run `mvn clean spring-boot:run -Drun.profiles=local`.\n\n* Open `https://localhost:8443` in browser.\n\n* Follow further instruction on that main page.\n\n## Spring Profiles\n\n* This archetype is preconfigured with 3 Spring Profiles:-\n    * `middleware` (default) - For generated WAR deployed in Middleware servers using JNDI data source. This is the default profile if `spring.profiles.active` is not specified.\n    * `local` - For local development using H2 data source.\n    * `test` - For running test cases.\n\n## How To...\n\n### Start Embedded Tomcat Server for Back-End Development\n\n* Run `mvn clean spring-boot:run -Drun.profiles=local`.\n    * By default, this will perform `yarn build` to bundle the front-end JS files first before starting the server.\n    * If there are no changes on front-end, you can speed it up by running `mvn clean spring-boot:run -Drun.profiles=local -Pskip-frontend-build`\n    \n* Open `https://localhost:8443` in browser.\n\n### Start Webpack Dev Server for Front-End Development\n\n* Change directory to `src/main/frontend` dir.\n\n* Run `yarn start`.\n    \n* Open `https://localhost:8080` in browser. \n \n### Create WAR File\n\n* Run `mvn clean package`.\n\n### Configure Jenkins Job\n\n* Create a \"Freestyle project\" job.\n\n* Under \"Add build steps, select \"Invoke top-level Maven targets\".\n    * Goals: `-U clean test site`\n    ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchoonchernlim%2Fchoonchernlim-archetype-webapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchoonchernlim%2Fchoonchernlim-archetype-webapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchoonchernlim%2Fchoonchernlim-archetype-webapp/lists"}