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.
The project is divided into two main parts:
-
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.
-
Frontend: The frontend is written in React. It provides the user interface for the chat application.
- 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.
-
Install Rust and Cargo: Follow the instructions here to install Rust and Cargo.
-
Clone the repository:
git clone https://github.com/username/rust-react-chat-project.git
-
Navigate to the project directory:
cd rust-react-chat-project
-
Build the project:
cargo build
-
Run the project:
cargo run
After running the project, you can interact with the application through the React frontend. Register a new user, log in, and start chatting!
Contributions are welcome! Please read the contributing guidelines before making any changes.
This project is licensed under the MIT License.