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.git
Navigate to the project directory
cd brafhy
Navigate to the server directory
cd back
Create a .env
file in the server directory and add the following environment variables
DATABASE_URL=postgres://postgres:postgres@localhost:5432/brafhy
Build the server
cargo build --release
Run the server
# Windows
.\target\release\brafhy.exe
#Linux
./target/release/brafhy
#Macos
./target/release/brafhy
Navigate to the client directory
cd front
Install the dependencies
npm install
Run the client
npm run dev
The software is licensed under GPL-3.