{"id":18588026,"url":"https://github.com/hiper2d/spring-boot-angular-maven-starter","last_synced_at":"2025-04-10T14:30:38.030Z","repository":{"id":100422063,"uuid":"96020129","full_name":"hiper2d/spring-boot-angular-maven-starter","owner":"hiper2d","description":"An example of Spring Boot and Angular 6 integration with the help of Maven and Kotlin.","archived":false,"fork":false,"pushed_at":"2018-07-02T01:04:13.000Z","size":225,"stargazers_count":13,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T22:32:05.374Z","etag":null,"topics":["angular","angular6","kotlin","maven","spring-boot-2","spring-security"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/hiper2d.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-07-02T11:52:13.000Z","updated_at":"2020-01-07T11:07:53.000Z","dependencies_parsed_at":"2023-05-14T14:15:26.643Z","dependency_job_id":null,"html_url":"https://github.com/hiper2d/spring-boot-angular-maven-starter","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/hiper2d%2Fspring-boot-angular-maven-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiper2d%2Fspring-boot-angular-maven-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiper2d%2Fspring-boot-angular-maven-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiper2d%2Fspring-boot-angular-maven-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiper2d","download_url":"https://codeload.github.com/hiper2d/spring-boot-angular-maven-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248233946,"owners_count":21069493,"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":["angular","angular6","kotlin","maven","spring-boot-2","spring-security"],"created_at":"2024-11-07T00:44:27.317Z","updated_at":"2025-04-10T14:30:38.024Z","avatar_url":"https://github.com/hiper2d.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"spring-boot-angular-maven-starter\n=============\n\n[![Kotlin](https://img.shields.io/badge/kotlin-1.2.x-blue.svg)](http://kotlinlang.org) [![TravisCI Build](https://travis-ci.org/hiper2d/spring-boot-angular-maven-starter.svg)](https://travis-ci.org/hiper2d/spring-boot-angular-maven-starter)\n\nAn example of Spring Boot 2 and Angular 6 integration with the help of Maven, Yarn, Kotlin.\n\nAlso includes `Spring Security Authentication` configured for a single page application client. The backend has no control over the frontend and only responds with 200/40x HTTP statuses. All login/logout redirects are performed on the client's side. Username and password are any Latin strings.\n\n##### Client npm dependencies status:\n\n[![dependencies Status](https://david-dm.org/hiper2d/spring-boot-angular-maven-starter/status.svg?path=client/src/main/ng)](https://david-dm.org/hiper2d/spring-boot-angular-maven-starter?path=client/src/main/ng)\n[![devDependencies Status](https://david-dm.org/hiper2d/spring-boot-angular-maven-starter/dev-status.svg?path=client/src/main/ng)](https://david-dm.org/hiper2d/spring-boot-angular-maven-starter?path=client/src/main/ng\u0026type=dev)\n\nConsists of [server](./server/) and [client](./client/) modules.\n\nIn production mode, they both are compiled and built into a single WAR archive which can be deployed to a web application server or run directly as a standalone Java application.\n\nIn development mode, you work with both modules separately. The server is built and run with the help of Maven from the 'server' directory. The client is operated via Yarn from the 'client/src/main/ng' directory.\n\n### Build\n##### Production mode\n```bash\n# build both server and client\nmvn clean install -Pprod\n```\n##### Development mode\n```bash\n# build the server module without the client jar dependency \n# (can be run from the root or from the 'server' directories)\nmvn clean install\n\n# install client's npm dependencies (it's necessary for the first build only)\n# navigate to the 'client/src/main/ng' directory and run the following command\nyarn install\n```\n### Run\n##### Production mode\n```bash\n# navigate to the 'server' directory and run the following command\nmvn spring-boot:run\n```\n\u003e Access UI App at [http://localhost:9001](http://localhost:9001)\n##### Development mode\n```bash\n# navigate to the 'server' directory and run the following command\nmvn spring-boot:run\n\n# navigate to the 'client/src/main/ng' directory and run the following command\nyarn start\n```\n\u003e Access UI App at [http://localhost:9002](http://localhost:9002)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiper2d%2Fspring-boot-angular-maven-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiper2d%2Fspring-boot-angular-maven-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiper2d%2Fspring-boot-angular-maven-starter/lists"}