All Projects → bfwg → Angular Spring Starter

bfwg / Angular Spring Starter

Licence: mit
Full stack starter kit featuring Angular 7, Spring boot and stateless JWT authentication.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Angular Spring Starter

Spring Boot In Action
Spring Boot 系列实战合集
Stars: ✭ 4,153 (+1312.59%)
Mutual labels:  spring-boot, spring, jwt, spring-security
Spring Webmvc Jwt Sample
Secures REST APIs with Spring Security and JWT Token based Authentication
Stars: ✭ 299 (+1.7%)
Mutual labels:  spring-boot, spring, jwt, spring-security
Milkomeda
Spring extend componets which build from experience of bussiness, let developers to develop with Spring Boot as fast as possible.(基于Spring生态打造的一系列来自业务上的快速开发模块集合。)
Stars: ✭ 117 (-60.2%)
Mutual labels:  spring-boot, spring, jwt, spring-security
Spring Boot Webflux Jjwt
Example Spring Boot and WebFlux (Reactive Web) with Spring Security and JWT for token Authentication and Authorization
Stars: ✭ 71 (-75.85%)
Mutual labels:  spring-boot, spring, jwt, spring-security
Springboard
Spring Boot based production grade starter kit.
Stars: ✭ 59 (-79.93%)
Mutual labels:  spring-boot, spring, starter-kit, spring-security
Cerberus
A demonstration of a completely stateless and RESTful token-based authorization system using JSON Web Tokens (JWT) and Spring Security.
Stars: ✭ 482 (+63.95%)
Mutual labels:  spring-boot, spring, jwt, spring-security
Securing Rest Api Spring Security
Spring Boot 2.2.x + Spring 5.2.x Rest Api Security Example
Stars: ✭ 117 (-60.2%)
Mutual labels:  spring-boot, spring, jwt, spring-security
Springboot Jwt Starter
A Spring Boot JWT starter kit for stateless and token-based authentication apps.
Stars: ✭ 538 (+82.99%)
Mutual labels:  spring-boot, spring, jwt, spring-security
Eshop Soa
EShop基于Dubbo实现SOA服务化拆分,并基于RocketMQ解决了分布式事务(新版SpringBootSOASkeleton)
Stars: ✭ 65 (-77.89%)
Mutual labels:  spring-boot, spring, jwt, spring-security
Spring Reddit Clone
Reddit clone built using Spring Boot, Spring Security with JPA Authentication, Spring Data JPA with MySQL, Spring MVC. The frontend is built using Angular - You can find the frontend source code here - https://github.com/SaiUpadhyayula/angular-reddit-clone
Stars: ✭ 210 (-28.57%)
Mutual labels:  spring-boot, spring, jwt, spring-security
Spring Cloud Flycloud
🔥🔥🔥FlyClould 微服务实战项目框架,在该框架中,包括了用 Spring Cloud 构建微服务的一系列基本组件和框架,对于后台服务框架的搭建有很大的参考价值,大家可以参考甚至稍加修改可以直接应用于自己的实际的项目开发中,该项目没有采用Maven进行项目构建,Maven通过xml进行依赖管理,导致整个配置文件太过臃肿,另外灵活性也不是很强,所以我采用Gradle进行项目构建和依赖管理,在FlyTour项目中我们见证了Gradle的强大,通过简单的一些配置就可以轻松的实现组件化的功能。该项目共有11个Module工程。其中10个位微服务工程,这10个微服务工程构成了一个完整的微服务系统,微服务系统包含了8个基础服务,提供了一整套微服务治理功能,他们分别是配置中心module_c…
Stars: ✭ 1,514 (+414.97%)
Mutual labels:  spring-boot, spring, spring-security
Springboot Restful Angular
springBoot,restful,jwt,angular4 搭建的前后端分离后台管理系统
Stars: ✭ 121 (-58.84%)
Mutual labels:  spring-boot, jwt, spring-security
Eladmin
项目基于 Spring Boot 2.1.0 、 Jpa、 Spring Security、redis、Vue的前后端分离的后台管理系统,项目采用分模块开发方式, 权限控制采用 RBAC,支持数据字典与数据权限管理,支持一键生成前后端代码,支持动态路由
Stars: ✭ 16,943 (+5662.93%)
Mutual labels:  spring-boot, jwt, spring-security
Spring Boot Blog
Simple blog web app made using Spring Boot + Thymeleaf
Stars: ✭ 121 (-58.84%)
Mutual labels:  spring-boot, spring, spring-security
Sample Spring Oauth2 Microservices
some examples that show basic and more advanced implementations of oauth2 authorization mechanism in spring-cloud microservices environment
Stars: ✭ 109 (-62.93%)
Mutual labels:  spring-boot, jwt, spring-security
Spring Boot Jwt
a simple Demo of securing Spring boot rest endpoints using JWT
Stars: ✭ 138 (-53.06%)
Mutual labels:  spring-boot, spring, jwt
Jwt Security Example
Spring Boot with Spring Security using JWT
Stars: ✭ 154 (-47.62%)
Mutual labels:  spring-boot, jwt, spring-security
Spring Cloud Study
spring-cloud学习
Stars: ✭ 108 (-63.27%)
Mutual labels:  spring-boot, spring, spring-security
Cas Security Spring Boot Starter
Spring boot starter for Apereo CAS client fully integrated with Spring security
Stars: ✭ 129 (-56.12%)
Mutual labels:  spring-boot, spring, spring-security
Spring Samples
A series of examples used to demonstrate certain features of Spring.
Stars: ✭ 154 (-47.62%)
Mutual labels:  spring-boot, spring, spring-security

npm StackShare Build Status Maintenance Status License MIT

Spring Boot and Angular 2

Angular Spring Boot JWT Starter

An Angular full stack starter kit featuring Angular, Router, Forms, Http, Services, Spring boot, JSON Web Token

If you're looking to use Angular as your frontend implementation, please check out springboot-jwt-starter A Spring Boot token-based security starter kit featuring AngularJS and Spring Boot (JSON Web Token)

Live Demo

Springboot JWT Starter

Quick start

Make sure you have Maven and Java 11 or greater Make sure you also have NPM 6.12.0, Node 12.13.0 and [email protected] globally installed

# clone our repo
# --depth 1 removes all but one .git commit history
git clone --depth 1 https://github.com/bfwg/angular-spring-starter.git

# change directory to the repo's frontend folder
cd angular-spring-starter/frontend

# install the frontend dependencies with npm
# npm install @angular/[email protected] -g
npm install

# start the frontend app
npm start

# change directory to the repo's backend folder
cd ../server

# install the server dependencies with mvn
mvn install

# start the backend server
mvn spring-boot:run

# the fronend angular app will be running on port 4200
# the spring-boot server will be running on port 8080

There are two user accounts present to demonstrate the different levels of access to the endpoints in the API and the different authorization exceptions:

Admin - admin:123
User - user:123

For more detailed configuration/documentation, please check out the frontend and server folder.

Deployment

# clone our repo
# --depth 1 removes all but one .git commit history
git clone --depth 1 https://github.com/bfwg/angular-spring-starter.git

# change directory to the repo's frontend folder
cd angular-spring-starter/frontend

# install the frontend dependencies with npm
# npm install @angular/[email protected] -g
npm install

# build frontend project to /server/src/main/resources/static folder
ng build

# change directory to the repo's backend folder
cd ../server

# install the server dependencies with mvn
mvn install

# start the server
mvn spring-boot:run

# the app will be running on port 8080

For more deployment related info checkout here: DEPLOYMENT DOC

JSON Web Token

JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties. for more info, check out https://jwt.io/

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.

-- Stormpath

Importing the Project in IntelliJ IDEA

  1. Click "Import Project" on the launch screen
  2. Select the projects root folder, then select "Import project from external model" and choose "Maven"
  3. Tick the checkboxes "Import Maven projects automatically" and "Import projects recursively"
  4. Continue the dialog until the IDE opens the project
  5. Open the "Project Structure" dialog
  6. On the left side, choose "Modules" and click the "Add" button
  7. Choose "Import Module", then select the frontend folder
  8. Choose "Create module from existing sources" and continue in the dialog until the module is added.
  9. You should now see both (frontend and backend) modules in the Project view

Contributing

I'll accept pretty much everything so feel free to open a Pull-Request

This project is inspired by


License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].