Skip to content

Server Sent Event Implementation in Spring Boot and ReactJs

Notifications You must be signed in to change notification settings

umes4ever/sse-implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Server Sent Event Implementation

Server Sent Event Implementation in Spring Boot and ReactJs

Spring Boot Application

React App

React App

To run React app, go to "sse-reactjs-client" folder and run commands:

  1. npm i
  2. npm start React app will run on default port: 3000

Make sure to create ".env" file from ".env.sample" and set the Server Url.

Spring Boot Application

To run Spring boot application, go to "sse-springboot-server" folder and run commands:

  1. ./gradle build (linux/mac) or gradlew.bat build (windows)
  2. ./gradle bootRun (linux/mac) or gradlew.bat bootRun (windows) Spring Boot application will run on default port: 8080

Know More

Check out the story to know few more things:

Medium Story

About

Server Sent Event Implementation in Spring Boot and ReactJs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published