Brafhy is an advanced application developed in Rust and Vue.js, integrating Axum as the web framework and PostgreSQL for database management. Its core functionality revolves around a messaging environment, where users can exchange messages. The critical feature of this application is the use of WebSocket technology, which enables real-time communication between users. This ensures that messages are delivered and received instantly, enhancing the user experience with seamless, real-time interactions. The combination of these technologies - Rust for performance and safety, Vue.js for a reactive front-end, Axum for an efficient web framework, and PostgreSQL for reliable data storage - makes this project a robust solution for real-time messaging needs.
Prerequisites
Clone this repository
git clone hhttps://github.com/fnxln/brafhy.gitNavigate to the project directory
cd brafhyNavigate to the server directory
cd backCreate a .env file in the server directory and add the following environment variables
DATABASE_URL=postgres://postgres:postgres@localhost:5432/brafhyBuild the server
cargo build --releaseRun the server
# Windows
.\target\release\brafhy.exe
#Linux
./target/release/brafhy
#Macos
./target/release/brafhyNavigate to the client directory
cd frontInstall the dependencies
npm installRun the client
npm run devThe software is licensed under GPL-3.

