Prerequisites
Node.js 18+
JavaScript runtime
Rust 1.70+
Backend language
Setup
Clone the repository
git clone https://github.com/Warehouser-dev/wryft-chat.git
cd wryft-chat
Start services
docker-compose up -d postgres minio redis
Setup database
createdb wryft
for f in backend/migrations/*.sql; do psql -d wryft -f "$f"; done
Configure environment
# Backend
cp backend/.env.example backend/.env
# Frontend
cp wryft-web/.env.example wryft-web/.env
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