https://github.com/ituvtu/server-javafx-websocket
https://github.com/ituvtu/server-javafx-websocket
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ituvtu/server-javafx-websocket
- Owner: ituvtu
- Created: 2024-05-20T18:12:53.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T14:43:49.000Z (about 2 years ago)
- Last Synced: 2024-05-22T16:02:10.983Z (about 2 years ago)
- Language: Java
- Size: 80.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Messenger Server
This repository contains the server-side implementation of a messaging application. The server handles client connections, message routing, user authentication, and interactions with the MySQL database.
## Features
- **WebSocket Server**: Manages real-time communication with clients.
- **User Authentication**: Validates user credentials and manages sessions.
- **Message Routing**: Routes messages between connected clients.
- **Database Integration**: Stores and retrieves messages and user data from a MySQL database.
- **Configuration Page**: Allows configuration of server settings such as port and database credentials.
### Configuration
Before starting the server, a configuration page will appear where you can set the port and database credentials.
### Server Application Structure
- **Main Application**: `ServerApp.java` initializes and starts the server.
- **Controllers**: Handles UI interactions.
- `ConfigController.java`: Manages the configuration page.
- `ServerController.java`: Manages the main server interface.
- **Models**: Contains the server logic.
- `Server.java`: Core server functionalities.
- **Views**: FXML files for UI.
- `config.fxml`: Configuration page layout.
- `server.fxml`: Main server interface layout.
## Related Projects
- **Client Application**: The client-side implementation can be found [here](https://github.com/ituvtu/Client-JavaFX-WebSocket).