Skip to content

This application is implemented for the implementation of the Spring RSocket, RSocketJS, and MongoDB reactive together. It also has been used from the RSocket Security on the Spring side. The type of login is JWT. On the other hand, on the Javascript side, it is carried out the login to the Rsocket server through RSocketJS.

Notifications You must be signed in to change notification settings

kasra-haghpanah/spring-rsocket-with-rsocketjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spring-rsocket-with-rsocket-js

Notice

This application works on Spring boot 3.0.0 or later and JDK 17 or later

<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>3.2.3</version>
    <relativePath/>
</parent>

References

Prerequisites

First, install MongoDB 4.2 or later on your system

Second, in the application.properties change the value of the adminUsers as a key and insert your phone number

Next, change the value of logging.file.path in the application.properties and set your log address. the log is designed for logstash

Now you can run this application

Application URL

http://localhost:8095

Springdoc Openapi URL

http://localhost:8095/webjars/swagger-ui/index.html#/

01

Features

First click The Signup button then create an account yourself and finally the login. Now you see the following image.

image

Now click the Upload tap then click the Send button.

image

For uploading, has been used the requestChannel and other users will be notified as well (broadcast)

The Users management's tree uses requestStream as well

For download, go to The Content tab, and click on the item you want. For download, it has been used requestStream.

About

This application is implemented for the implementation of the Spring RSocket, RSocketJS, and MongoDB reactive together. It also has been used from the RSocket Security on the Spring side. The type of login is JWT. On the other hand, on the Javascript side, it is carried out the login to the Rsocket server through RSocketJS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published