Skip to content

This project provides a fully working real-time chat application to practice spring WebSocket and STOMP as a simple text-based messaging protocol to establish a persistent connection between an Angular web client and server to deliver and receive chat messages instantly without the use of long-polling.

License

Notifications You must be signed in to change notification settings

Houssem-Selmi/websocket-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Real-time Chat Application 💬

Fully working chat application project built using Java EE Spring Boot WebSocket & Angular 9

Table of content

About the project

Fully working real-time chat application to practice spring WebSocket and STOMP as a simple text-based messaging protocol to establish a persistent connection between a client and server to deliver and receive chat messages instantly without the use of long-polling.

Getting Started

Prerequisites

  • Front-End ( Angular )

    • A stable version of node installed on your machine
    • Npm
      • npm install npm@latest -g
    • Angular CLI
  • Back-End ( Spring Boot )

    • Java SDK v1.8 or higher
    • Apache Maven 3.3 or above

Installation

Clone the repo 😊

git clone https://github.com/Houssem-Selmi/websocket-project.git

Back-End ( Spring Boot )

  • Open the folder 'websocket-project-backend' with your favorite Java IDE

  • Run the Spring Boot Java project


Front-End ( Angular )

Access the Front-End folder

cd websocket-project-frontend

Install the dependencies

npm install

Start the angular project

ng serve 

Now you should see the application running in your browser, type a username and start the chat.

Congrats 👏 🎉

Now everything is set up correctly and you can start exploring the real-time chat application 💬

Author

Houssem Selmi ✏️

License

Code released under the MIT License.

About

This project provides a fully working real-time chat application to practice spring WebSocket and STOMP as a simple text-based messaging protocol to establish a persistent connection between an Angular web client and server to deliver and receive chat messages instantly without the use of long-polling.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published