Skip to content

Chat application made using Java springboot basics along with basic html css and js

Notifications You must be signed in to change notification settings

ACEGX25/Chat-Application-Using-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Application Using Java

This repository contains an online chat application developed using Spring Boot. Follow the steps below to set up and run the application.

Getting Started

Prerequisites

  • Java Development Kit (JDK)
  • Maven
  • A text editor or an IDE (such as IntelliJ IDEA or Eclipse)

Installation

  1. Visit Spring Initializr

    • Go to Spring Initializr.
    • Select the following options:
      • Project: Maven
      • Language: Java
      • Spring Boot Version: Choose the desired stable version
      • Packaging: Jar
      • Java Version: Select the version you have installed
      • Dependencies: Add "WebSocket"
  2. Generate the Project

    • Click on "Generate" to download the project as a ZIP file.
    • Extract the ZIP file to your desired location.

Configuration

  1. Set the Port
    • Change to your desired port in the application.properties file located in the src/main/resources folder.
      server.port=8080

Implementation Details

  1. MessageController

    • Created in the java folder to handle message mapping and sending messages to all connected clients.
  2. Messages

    • Created in the same way to specify the name and content, along with their getter and setter methods.
  3. Configuration

    • Added configuration file to use STOMP and message broker properties.

Frontend

  • In the static folder, added a simple frontend with HTML, CSS, and JavaScript.
  • Feel free to modify the frontend as per your needs.

Collaboration

This project was created by ACEGX25 along with ashutoshh-17.

For a detailed explanation, watch this video: Watch Here

Feel free to fork this repository and contribute to the project.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Happy coding!

##SCREENSHOTS Screenshot 2024-06-17 173109 Screenshot 2024-06-17 173144 Screenshot 2024-06-17 173219 Screenshot 2024-06-17 173240

About

Chat application made using Java springboot basics along with basic html css and js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published