{"id":14973290,"url":"https://github.com/saka7/spring-boot-angular4-boilerplate","last_synced_at":"2025-10-11T17:10:29.111Z","repository":{"id":107347795,"uuid":"80937530","full_name":"Saka7/spring-boot-angular4-boilerplate","owner":"Saka7","description":"Quickstart for spring boot + angular 4 projects","archived":false,"fork":false,"pushed_at":"2018-09-12T14:28:03.000Z","size":182,"stargazers_count":156,"open_issues_count":0,"forks_count":82,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-06-03T16:44:38.165Z","etag":null,"topics":["angular","angular-cli","angular4","boilerplate-files","gradle","jwt-authentication","quickstart","spring-boot","webpack"],"latest_commit_sha":null,"homepage":"","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/Saka7.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-02-04T18:02:06.000Z","updated_at":"2024-11-11T14:53:30.000Z","dependencies_parsed_at":"2023-05-25T23:30:39.329Z","dependency_job_id":null,"html_url":"https://github.com/Saka7/spring-boot-angular4-boilerplate","commit_stats":{"total_commits":40,"total_committers":1,"mean_commits":40.0,"dds":0.0,"last_synced_commit":"0f36cda37c80145b0fbd6481820b1d50b307da8b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Saka7/spring-boot-angular4-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saka7%2Fspring-boot-angular4-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saka7%2Fspring-boot-angular4-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saka7%2Fspring-boot-angular4-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saka7%2Fspring-boot-angular4-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Saka7","download_url":"https://codeload.github.com/Saka7/spring-boot-angular4-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saka7%2Fspring-boot-angular4-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279008111,"owners_count":26084396,"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-10-11T02:00:06.511Z","response_time":55,"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":["angular","angular-cli","angular4","boilerplate-files","gradle","jwt-authentication","quickstart","spring-boot","webpack"],"created_at":"2024-09-24T13:48:29.921Z","updated_at":"2025-10-11T17:10:29.093Z","avatar_url":"https://github.com/Saka7.png","language":"Java","readme":"# Spring Boot + Angular 4 Boilerplate\n\n![spring-boot-angular4-boilerplate](https://raw.githubusercontent.com/Saka7/spring-boot-angular4-boilerplate/master/frontend/src/assets/images/favicon.png)\n\n[![Code Climate](https://codeclimate.com/github/Saka7/spring-boot-angular4-boilerplate/badges/gpa.svg)](https://codeclimate.com/github/Saka7/spring-boot-angular4-boilerplate)\n[![Issue Count](https://codeclimate.com/github/Saka7/spring-boot-angular4-boilerplate/badges/issue_count.svg)](https://codeclimate.com/github/Saka7/spring-boot-angular4-boilerplate)\n\nQuick start for Spring Boot + Angular 4 projects with JWT auth\n\n## Includes:\n\nFront-end:\n\n- angular-cli boilerplate files\n- JWT authentication service\n\nBack-end:\n\n- gradle build file\n- boilerplate files\n- JWT authentication\n\n## Setup\n\nYou can use `setup.sh` script to change name and version of the app and database connection properties.\nJust run `sh setup.sh` and follow the instructions.\n\n## Build and Run\n\nFirst of all you need to configure the database. Properties are located in `./backend/src/main/resources/application.properties` file.\n\n\u003e By default application is using PostgreSQL database(name: `test`, user: `test`, password: `test`).\n\nAlso you need to configure JWT secret in file listed above.\n\n1. Run `npm install --prefix frontend` to install front-end dependencies.\n2. Run `npm run build:prod --prefix frontend` to build angular application.\n3. Run `./init_db` to create database, dbuser and dump default schema.\n4. Run `gradle build -p backend` to build a spring boot application.\n5. Run `gradle bootRun -p backend ` or `java -jar backend/build/libs/app-name-[version].jar` to start spring boot application on embedded server.\n\n\u003e By default server will be running on port `8080`.\n\n\n## Development\n\n- `npm start --prefix frontend` to start front-end server for development.\n- `npm run start:prod --prefix frontend` to start front-end server with service-workers.\n- `gradle bootRun -p backend ` to start spring boot application on embedded server.\n\n\u003e By default server will be running on port `4200`\n\n## Testing\n\n- `npm test --prefix frontend` - to run front-end unit tests.\n- `npm run e2e --prefix frontend` - to run end to end tests.\n- `gradle test -p backend` - to run server tests.\n\n## Technologies used\n\n- [spring-boot 1.5.3](https://projects.spring.io/spring-boot/)\n- [spring-mvc 4.3.6](https://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html)\n- [spring-data-jpa 1.11.0](http://projects.spring.io/spring-data-jpa/)\n- [spring-security 4.2.1](https://projects.spring.io/spring-security/)\n- [jjwt 0.7.0](https://github.com/jwtk/jjwt)\n- [lombok 1.16.12](https://projectlombok.org/)\n- [junit 4.11](http://junit.org/junit4/)\n- [gradle 3.3](https://gradle.org/)\n- [postgresql 9.5](https://www.postgresql.org/)\n- [h2 1.4](http://www.h2database.com/html/main.html)\n- [angular-cli 1.1.1](https://cli.angular.io/)\n- [angular 4.2.2](https://angular.io/)\n- [rxjs 5](http://reactivex.io/rxjs/)\n- [jasmine 2.5](https://jasmine.github.io/)\n- [karma 1.0](https://karma-runner.github.io/1.0/index.html)\n- [protractor 4](http://www.protractortest.org/#/)\n\n## License\nspring-boot-angular4-boilerplate is released under the [MIT License](https://opensource.org/licenses/MIT).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaka7%2Fspring-boot-angular4-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaka7%2Fspring-boot-angular4-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaka7%2Fspring-boot-angular4-boilerplate/lists"}