Skip to content

This is a chat Application built using Spring Boot and WebSocket.

License

Notifications You must be signed in to change notification settings

amit-maurya-507464/spring-boot-websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot WebSocket (Chatting App)

This is a chat Application built using Spring Boot and WebSocket.

Technologies used

  1. java
  2. Spring Boot
  3. WebSocket
  4. RabbitMQ
  5. Netty
  6. Html
  7. Css
  8. JavaScript
  9. Bootstrap
  10. SockJS
  11. StompJS

Running and Testing

IDE: Open project in any IDE and run as a spring boot Project.
Command line: Open terminal and locate to pom.xml file directory and type command - mvn dpring-boot:run

Use the following url to test the Application: http://localhost:8080

Dependencies

<!--WebSocket starter dependency-->
<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-websocket</artifactId>
</dependency>

<!-- RabbitMQ Starter Dependency -->
<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-amqp</artifactId>
</dependency>

<!-- Following additional dependency is required for Full Featured STOMP Broker Relay -->
<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-reactor-netty</artifactId>
</dependency>

User Interface

Home page

chat-home.png

Chat Page

chat.png

Raise Hand

raise-hand.png

Usage

To use the application enter your name and room id. Room id is a unique id which creates a group chat room. Users in the same chat room can send messages to each others. Users can raise hand shot alert to all users of particular chat room.

Releases

No releases published

Packages

No packages published