This is a Messenger Server implemented in Rust, designed for managing real-time group chats. It allows users to communicate by sending text messages within chat groups. The server is built using the Tokio async runtime and Warp framework to handle HTTP requests.
The server supports basic functionalities such as:
- User Authentication: Users can log in and authenticate.(You cannot register!!)
- Real-Time Group Messaging: Users can send and receive messages in real-time.
- Message History: Previous messages in the group chat are accessible even when you log back in. (As long as the server is running)
- User Login: Log in to the server with your credentials.

- Group Messaging: Send and receive messages in real-time within a group.

- Persistent Storage: Messages and online users are stored persistently.(As long as the server is running)
- WebSocket Support: The server uses WebSockets for real-time communication.
- Rust (and
cargopackage manager) - Visual Studio Code along with some extensions(CTRL + SHIFT + X for install extensions)
- Live Server
- HTML CSS Support
- rust-analyzer (id: rust-lang.rust-analyzer)
- Even Better TOML (id: tamasfe.even-better-toml)
- CodeLLDB (id: vadimcn.vscode-lldb)
-
Clone the repository:
git clone https://github.com/MarianRadu29/Messenger-Rust-Server.git cd Messenger-Rust-Server -
Install the tools listed above in prerequisites
-
Run server in terminal(CTRL + J) with this command
cargo run -
To be able to run the client in the browser, right-click on the
index.htmlfile and select theOpen with Live Serveroption.
