Skip to content

RobinTail/chat

Repository files navigation

Demo chat for zod-sockets

CI

The demonstration of zod-sockets and express-zod-api working together as the Socket.IO and Express based chat core using oAuth authentication via social networks.

  • Three oAuth providers: Facebook, Twitter, Google (handled by express-zod-api);
  • The application is aware of the events I/O types (handled by zod-sockets):
  • It makes a sound on new incoming messages;
  • It shows who are typing messages now;
  • Converts URLs to anchors and fetch webpage's previews, photos and videos from Embedly API.

Meme

Demo

Try it on https://chat.robintail.cz/

Screenshots

Responsive design by @DERZELLE (clickable previews for 'lg', 'sm' and 'xs' screens).

Chat log Chat log Chat log

Embedly API sample fetch.

Emdebly API

Technologies

  • NodeJS
  • Typescript
  • express-zod-api (Express based)
  • zod-sockets (Socket.io based)
  • Passport
  • React
  • Vite