All Projects → hantsy → Angular Spring Reactive Sample

hantsy / Angular Spring Reactive Sample

Licence: gpl-3.0
RESTful API demos with Spring 5 WebFlux, Spring Boot 2, Spring Data Mongo, Spring Security, Spring Session and Angular 11

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Angular Spring Reactive Sample

Spring Reactive Sample
Spring 5 Reactive playground
Stars: ✭ 867 (+466.67%)
Mutual labels:  reactor, spring-boot, spring-session, spring-security
Springcloud Shop
基于Spring Boot、Spring Cloud的微服务商城demo
Stars: ✭ 198 (+29.41%)
Mutual labels:  spring-boot, spring-session, spring-security
Spring Webflux Security Jwt
A JWT authorization and authentication implementation with Spring Reactive Webflux, Spring Boot 2 and Spring Security 5
Stars: ✭ 190 (+24.18%)
Mutual labels:  reactive, spring-boot, spring-security
Reactive Ms Example
An educational project to learn reactive programming with Spring 5
Stars: ✭ 157 (+2.61%)
Mutual labels:  reactive, reactor, spring-boot
Webfluxtemplate
Spring Webflux template application with working Spring Security, Web-sockets, Rest, Web MVC, and Authentication with JWT.
Stars: ✭ 107 (-30.07%)
Mutual labels:  reactive, spring-boot, spring-security
Spring 5 Examples
This repository is contains spring-boot 2 / spring framework 5 project examples. Using reactive programming model / paradigm and Kotlin
Stars: ✭ 87 (-43.14%)
Mutual labels:  reactor, spring-boot, spring-security
Spring Microservice Sample
Spring Boot based Mircoservice sample
Stars: ✭ 199 (+30.07%)
Mutual labels:  spring-boot, spring-session, 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 (-53.59%)
Mutual labels:  reactive, spring-boot, spring-security
Springboot Registration Login Theperfectexample
Login & Signup tutorial for every website ,mixes a lot of microservices together with the latest spring framework api in combined with full security
Stars: ✭ 89 (-41.83%)
Mutual labels:  spring-boot, spring-session, spring-security
Jiiiiiin Security
一个前后端分离的内管基础项目
Stars: ✭ 132 (-13.73%)
Mutual labels:  spring-boot, spring-session, spring-security
Spring Webflux Reactive Rest Api Demo
Build Reactive Rest APIs with Spring WebFlux and Reactive Mongo
Stars: ✭ 117 (-23.53%)
Mutual labels:  reactor, spring-boot
Milkomeda
Spring extend componets which build from experience of bussiness, let developers to develop with Spring Boot as fast as possible.(基于Spring生态打造的一系列来自业务上的快速开发模块集合。)
Stars: ✭ 117 (-23.53%)
Mutual labels:  spring-boot, spring-security
Learning Path Spring Boot Microservices
Curated path for learning Spring Boot & Microservices based on published videos in TechPrimers
Stars: ✭ 116 (-24.18%)
Mutual labels:  spring-boot, spring-security
Spring Cloud Flycloud
🔥🔥🔥FlyClould 微服务实战项目框架,在该框架中,包括了用 Spring Cloud 构建微服务的一系列基本组件和框架,对于后台服务框架的搭建有很大的参考价值,大家可以参考甚至稍加修改可以直接应用于自己的实际的项目开发中,该项目没有采用Maven进行项目构建,Maven通过xml进行依赖管理,导致整个配置文件太过臃肿,另外灵活性也不是很强,所以我采用Gradle进行项目构建和依赖管理,在FlyTour项目中我们见证了Gradle的强大,通过简单的一些配置就可以轻松的实现组件化的功能。该项目共有11个Module工程。其中10个位微服务工程,这10个微服务工程构成了一个完整的微服务系统,微服务系统包含了8个基础服务,提供了一整套微服务治理功能,他们分别是配置中心module_c…
Stars: ✭ 1,514 (+889.54%)
Mutual labels:  spring-boot, spring-security
Securing Rest Api Spring Security
Spring Boot 2.2.x + Spring 5.2.x Rest Api Security Example
Stars: ✭ 117 (-23.53%)
Mutual labels:  spring-boot, spring-security
Ibase4j
Spring,SpringBoot 2.0,SpringMVC,Mybatis,mybatis-plus,motan/dubbo分布式,Redis缓存,Shiro权限管理,Spring-Session单点登录,Quartz分布式集群调度,Restful服务,QQ/微信登录,App token登录,微信/支付宝支付;日期转换、数据类型转换、序列化、汉字转拼音、身份证号码验证、数字转人民币、发送短信、发送邮件、加密解密、图片处理、excel导入导出、FTP/SFTP/fastDFS上传下载、二维码、XML读写、高精度计算、系统配置工具类等等。
Stars: ✭ 1,548 (+911.76%)
Mutual labels:  spring-boot, spring-session
Springboot Restful Angular
springBoot,restful,jwt,angular4 搭建的前后端分离后台管理系统
Stars: ✭ 121 (-20.92%)
Mutual labels:  spring-boot, spring-security
Sk Admin
基于 Spring Boot、 Spring Data JPA、 Spring Security、Vue 的前后端分离的管理系统。项目采用模块开发方式, 主要模块:权限管理 (RBAC(Role-Based Access Control,基于角色的访问控制),支持数据字典、数据权限管理、前端菜单支持动态路由)、日志管理、代码生成器、系统监控、云存储管理、系统工具等等
Stars: ✭ 130 (-15.03%)
Mutual labels:  spring-boot, spring-security
Cas Security Spring Boot Starter
Spring boot starter for Apereo CAS client fully integrated with Spring security
Stars: ✭ 129 (-15.69%)
Mutual labels:  spring-boot, 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 (-28.76%)
Mutual labels:  spring-boot, spring-security

Build Client Build Server Side

Table of Contents generated with DocToc

I've also created a series of projects to demo Angular and Spring WebFlux using other protocols:

Angular Spring Reactive Sample

This application demonstrate building backend RESTful APIs with the newest Reactive stack introduced in Spring 5, and creating the frontend SPA with Angular 5.

Read the comprehensive step by step guide to get more details.

Project structure

  • client - The client application built with Angular CLI.
  • server - The backend RESTful APIs.

Build and Run

Clone the source codes into your local system.

git clone https://github.com/hantsy/angular-spring-reactive-sample

Server

The backend is a Spring Boot based application, make sure you have installed the following software:

  • Apache Maven
  • Oracle JDK 8
  • Docker & Docker Compose

There is a docker-compose.yml file in the project root folder.

Starts up required MongoDb and Reids service in the background by executing the following command.

docker-compose up

NOTE: You can also install a local MongoDb and Redis instead of using Docker.

Then run the application by Spring boot maven plugin directly.

mvn spring-boot:run

Client

The client application is generated by Angular CLI.

Enter client folder, execute the following command to run the frontend UI.

npm install
npm run start

Open your favorite browser, and navigate to http://localhost:4200.

CORS

By default, I do not use a CORS config to run the Server side in this sample application.

But if you do not like to use a proxy.conf.js in the Angular config, follow the following steps to enable cors support in the backend, and connect to the backend directly in the client side.

Server

Activate the cors profile when running the Spring Boot application.

java -jar target/app.jar --spring.profiles.active=cors

Client

There is a standalone configuration cors added in the Angular config to connect to the backend directly.

npm run start:cors

Contribute

Welcome to contribute this project. If you have some ideas do not hesitate to file an issue or send a PR directly.

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].