/chat

RustChat is a cutting-edge real-time chat application that leverages the robust performance of Rust and the reactive capabilities of React

Primary LanguageJavaScript

Rust React Chat Project

This project is a chat application built using Rust and React. It uses SQLite for data storage and Diesel as an ORM for interacting with the database.

Project Structure

The project is divided into two main parts:

  1. Backend: The backend is written in Rust. It handles all the server-side logic, including user authentication, message handling, and database operations. The backend uses Diesel for ORM operations and SQLite as the database.

  2. Frontend: The frontend is written in React. It provides the user interface for the chat application.

Key Features

  • User Authentication: Users can register and log in to the application.
  • Real-time Messaging: Users can send and receive messages in real-time.
  • Room Management: Users can create rooms and join existing ones.

Setup and Installation

  1. Install Rust and Cargo: Follow the instructions here to install Rust and Cargo.

  2. Clone the repository: git clone https://github.com/username/rust-react-chat-project.git

  3. Navigate to the project directory: cd rust-react-chat-project

  4. Build the project: cargo build

  5. Run the project: cargo run

Usage

After running the project, you can interact with the application through the React frontend. Register a new user, log in, and start chatting!

Contributing

Contributions are welcome! Please read the contributing guidelines before making any changes.

License

This project is licensed under the MIT License.