{"id":16427807,"url":"https://github.com/bfwg/angular-spring-starter","last_synced_at":"2025-04-06T01:11:30.757Z","repository":{"id":81041341,"uuid":"91209854","full_name":"bfwg/angular-spring-starter","owner":"bfwg","description":"Full stack starter kit featuring Angular 7, Spring boot and stateless JWT authentication.                              ","archived":false,"fork":false,"pushed_at":"2023-02-21T21:09:14.000Z","size":46679,"stargazers_count":296,"open_issues_count":3,"forks_count":126,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-03-30T00:11:04.531Z","etag":null,"topics":["angular","jwt","spring","spring-boot","spring-security","starter-kit"],"latest_commit_sha":null,"homepage":"https://angular-spring-starter.fanjin.io","language":"TypeScript","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/bfwg.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-14T00:13:38.000Z","updated_at":"2025-03-08T05:01:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"090fa964-1b9f-4f4a-9ec3-a6982931d94e","html_url":"https://github.com/bfwg/angular-spring-starter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfwg%2Fangular-spring-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfwg%2Fangular-spring-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfwg%2Fangular-spring-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfwg%2Fangular-spring-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bfwg","download_url":"https://codeload.github.com/bfwg/angular-spring-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419872,"owners_count":20936013,"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","jwt","spring","spring-boot","spring-security","starter-kit"],"created_at":"2024-10-11T08:14:05.395Z","updated_at":"2025-04-06T01:11:30.730Z","avatar_url":"https://github.com/bfwg.png","language":"TypeScript","readme":"[![npm](https://img.shields.io/badge/demo-online-ed1c46.svg)](http://angular-spring-starter.fanjin.io/)\n[![StackShare](https://img.shields.io/badge/tech-stack-0690fa.svg?style=flat)](https://stackshare.io/bfwg/angular4-spring-boot-jwt-starter)\n[![Build Status](https://travis-ci.org/bfwg/angular-spring-starter.svg?branch=master)](https://travis-ci.org/bfwg/angular-spring-starter)\n[![Maintenance Status][status-image]][status-url]\n[![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/bfwg/angular-spring-jwt-starter/blob/master/LICENSE)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://angular-spring-starter.fanjin.io\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://cloud.githubusercontent.com/assets/12819525/26094670/b0f6f192-39cf-11e7-8048-ab710b3dc1d1.png\" alt=\"Spring Boot and Angular 2\" width=\"500\" height=\"320\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# Angular Spring Boot JWT Starter\n\u003e An Angular full stack starter kit featuring [Angular](https://angular.io), [Router](https://angular.io/docs/ts/latest/guide/router.html), [Forms](https://angular.io/docs/ts/latest/guide/forms.html),\n[Http](https://angular.io/docs/ts/latest/guide/server-communication.html),\n[Services](https://gist.github.com/gdi2290/634101fec1671ee12b3e#_follow_@AngularClass_on_twitter),\n[Spring boot](https://projects.spring.io/spring-boot/),\n[JSON Web Token](https://jwt.io/)\n\n\u003e If you're looking to use Angular as your frontend implementation, please check out [springboot-jwt-starter](https://github.com/bfwg/springboot-jwt-starter)\n\u003e A Spring Boot token-based security starter kit featuring [AngularJS](https://angularjs.org/) and [Spring Boot](https://projects.spring.io/spring-boot/) ([JSON Web Token](https://jwt.io/))\n\u003cp align=\"center\"\u003e\n    \u003cimg width=\"800\" alt=\"Springboot JWT Starter\" src=\"https://cloud.githubusercontent.com/assets/12819525/26290994/3895daca-3e60-11e7-9465-421e0b029343.png\"\u003e\n\u003c/p\u003e\n\n## Quick start\n**Make sure you have Maven and Java 11 or greater**\n**Make sure you also have NPM 6.12.0, Node 12.13.0 and angular-cli@9.1.3 globally installed**\n```bash\n# clone our repo\n# --depth 1 removes all but one .git commit history\ngit clone --depth 1 https://github.com/bfwg/angular-spring-starter.git\n\n# change directory to the repo's frontend folder\ncd angular-spring-starter/frontend\n\n# install the frontend dependencies with npm\n# npm install @angular/cli@9.1.3 -g\nnpm install\n\n# start the frontend app\nnpm start\n\n# change directory to the repo's backend folder\ncd ../server\n\n# install the server dependencies with mvn\nmvn install\n\n# start the backend server\nmvn spring-boot:run\n\n# the fronend angular app will be running on port 4200\n# the spring-boot server will be running on port 8080\n```\n\nThere are two user accounts present to demonstrate the different levels of access to the endpoints in\nthe API and the different authorization exceptions:\n```\nAdmin - admin:123\nUser - user:123\n```\nFor more detailed configuration/documentation, please check out the [frontend][frontend-doc] and [server][server-doc] folder.\n\n## Deployment\n\n```bash\n# clone our repo\n# --depth 1 removes all but one .git commit history\ngit clone --depth 1 https://github.com/bfwg/angular-spring-starter.git\n\n# change directory to the repo's frontend folder\ncd angular-spring-starter/frontend\n\n# install the frontend dependencies with npm\n# npm install @angular/cli@9.1.3 -g\nnpm install\n\n# build frontend project to /server/src/main/resources/static folder\nng build\n\n# change directory to the repo's backend folder\ncd ../server\n\n# install the server dependencies with mvn\nmvn install\n\n# start the server\nmvn spring-boot:run\n\n# the app will be running on port 8080\n```\nFor more deployment related info checkout here: [DEPLOYMENT DOC](https://angular.io/docs/ts/latest/guide/deployment.html)\n\n### JSON Web Token\n\u003e JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.\nfor more info, check out https://jwt.io/\n\n\u003e Token authentication is a more modern approach and is designed solve problems session IDs stored server-side can’t. Using tokens in place of session IDs can lower your server load, streamline permission management, and provide better tools for supporting a distributed or cloud-based infrastructure.\n\u003e\n\u003e -- \u003ccite\u003eStormpath\u003c/cite\u003e\n\n### Importing the Project in IntelliJ IDEA\n1. Click \"Import Project\" on the launch screen\n2. Select the projects root folder, then select \"Import project from external model\" and choose \"Maven\"\n3. Tick the checkboxes \"Import Maven projects automatically\" and \"Import projects recursively\"\n4. Continue the dialog until the IDE opens the project\n5. Open the \"Project Structure\" dialog\n6. On the left side, choose \"Modules\" and click the \"Add\" button\n7. Choose \"Import Module\", then select the ```frontend``` folder\n8. Choose \"Create module from existing sources\" and continue in the dialog until the module is added.\n9. You should now see both (frontend and backend) modules in the Project view\n\n### Contributing\nI'll accept pretty much everything so feel free to open a Pull-Request\n\nThis project is inspired by\n- [Stormpath](https://stormpath.com/blog/token-auth-spa)\n- [Cerberus](https://github.com/brahalla/Cerberus)\n- [jwt-spring-security-demo](https://github.com/szerhusenBC/jwt-spring-security-demo)\n\n___\n\n## License\n [MIT](/LICENSE)\n\n\n[frontend-doc]: https://github.com/bfwg/angular-spring-jwt-starter/tree/master/frontend\n[server-doc]: https://github.com/bfwg/angular-spring-jwt-starter/tree/master/server\n[status-image]: https://img.shields.io/badge/status-maintained-brightgreen.svg\n[status-url]: https://github.com/bfwg/angular-spring-jwt-starter\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfwg%2Fangular-spring-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbfwg%2Fangular-spring-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfwg%2Fangular-spring-starter/lists"}