Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

6 Commits

Repository files navigation

馃挰 Real-Time Chat (React + Tailwind + Shadcn + Bun)

Chat en tiempo real enfocado en demostrar un frontend moderno, animado y optimizado, con backend m铆nimo como relay de mensajes.


馃殌 Stack

  • Frontend: React + TypeScript + TailwindCSS 4 + Shadcn UI + Zustand + Framer Motion.
  • Backend: Bun + ws (WebSocket) como relay de eventos.
  • Persistencia: LocalStorage (opcional) en el cliente.
  • Despliegue: Frontend en Vercel, Backend en Railway/Render.

馃搨 Estructura de carpetas

real-time-chat/ 鈹溾攢 server/ # Bun + ws (WebSocket relay) 鈹溾攢 client/ # React + Tailwind + Shadcn UI + Zustand 鈹斺攢 README.md


馃敡 Instalaci贸n

1锔忊儯 Clonar repositorio

git clone https://github.com/tu-usuario/real-time-chat.git
cd real-time-chat

### 2锔忊儯 Instalar dependencias
* Servidor
cd server
bun install
cd ..
* Cliente
cd client
bun install
cd ..
鈻讹笍 Ejecuci贸n en desarrollo
Backend
bash
cd server
bun run server.ts
Servidor disponible en ws://localhost:8080.

Frontend
bash
cd client
bun dev
Frontend en http://localhost:5173 (o el que indique Vite).

馃實 Variables de entorno
En client/.env:

VITE_WS_URL=ws://localhost:8080

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages