Skip to main content

Prerequisites

Node.js 18+

JavaScript runtime

Rust 1.70+

Backend language

PostgreSQL 14+

Database

Setup

1

Clone the repository

git clone https://github.com/Warehouser-dev/wryft-chat.git
cd wryft-chat
2

Start services

docker-compose up -d postgres minio redis
3

Setup database

createdb wryft
for f in backend/migrations/*.sql; do psql -d wryft -f "$f"; done
4

Configure environment

# Backend
cp backend/.env.example backend/.env

# Frontend
cp wryft-web/.env.example wryft-web/.env
5

Start backend

cd backend
cargo run
6

Start frontend

cd wryft-web
npm install
npm run dev

Access the App

Open your browser to http://localhost:5173
Default backend runs on port 3001, frontend on port 5173

Next Steps