Skip to content

Brafhy is an open-source real-time messaging application built in Rust and Vue.js, featuring WebSocket and PostgreSQL

License

Notifications You must be signed in to change notification settings

VitorCarvalho67/Brafhy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brafhy (Messages App)

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.

How To Use

Prerequisites

Clone this repository

git clone hhttps://github.com/fnxln/brafhy.git

Navigate to the project directory

cd brafhy

Server

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

Client

Navigate to the client directory

cd front

Install the dependencies

npm install

Run the client

npm run dev

Contribute

Lin
Vitor Carvalho

License

The software is licensed under GPL-3.

About

Brafhy is an open-source real-time messaging application built in Rust and Vue.js, featuring WebSocket and PostgreSQL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 62.4%
  • Rust 28.8%
  • TypeScript 4.2%
  • Dockerfile 1.6%
  • CSS 1.3%
  • HTML 0.7%
  • Other 1.0%