https://github.com/fram1000/chatternet
Building a web-based chat application
https://github.com/fram1000/chatternet
chat-application java javascript messaging mysql spring-boot web-application websocket
Last synced: 2 months ago
JSON representation
Building a web-based chat application
- Host: GitHub
- URL: https://github.com/fram1000/chatternet
- Owner: FraM1000
- Created: 2021-12-11T15:59:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-10T23:52:35.000Z (over 2 years ago)
- Last Synced: 2025-07-22T14:46:46.754Z (11 months ago)
- Topics: chat-application, java, javascript, messaging, mysql, spring-boot, web-application, websocket
- Language: Java
- Homepage:
- Size: 659 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What is Chatternet?
Chatternet is a web-based one-to-one messaging application which allows users to send private messages to each other.

This is a complete application that includes a form-based authentication built with Spring Security. In case of a successful login if the user is not an admin it is redirected to the homepage where all the chats are displayed, also a websocket connection is established between a client and a server and it is implemented thanks to Spring Websocket. A user can choose a chat and send a text message to another user, Since websocket is just a communication protocol, it doesn’t know how to send a message to a particular user. STOMP is a messaging protocol which is useful for these functionalities and that is used on the client. After the text message is sended it will be persisted in the MySQL Database.
## Features
* Login
* Registration
* Admin dashboard
* Homepage
* Profile page
* Search users
* Send messages
## Installation
Prerequisites:
* Java 8
* Maven
* MySQL database
* Run sqlScripts folder against the MySQL database
```bash
# This will get a copy of the project installed locally.
git clone https://github.com/FraM1000/Chatternet.git
cd Chatternet
# This will package the application as a standalone war.
mvn clean install
# This will run our application.
java -jar target/chatternet-0.0.1-SNAPSHOT.war
```