Full-stack real-time chat
- Data: PostgeSQL managed by Supabase @supabase_io (awsome real-time API).
- Front-end: React + Vite
- UI library: chakra-ui @chakra_ui
- Hosting: Netlify
- Country flags from Flagpedia
Install
npm install to setup dependencies
Supabase variables
Create a .env file with VITE_SUPABASE_URL and VITE_SUPABASE_KEY (see env.example)
Setup your Supabase project
The following database table is required:
| Field | Type |
|---|---|
| id | BIGINT |
| username | VARCHAR |
| text | TEXT |
| country | VARCHAR |
| is_authenticated | BOOLEAN |
| timestamp | timestamp |
SQL query if not using the Supabase interface:
CREATE TABLE messages (
id bigint GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
username VARCHAR NOT NULL,
text TEXT NOT NULL,
country VARCHAR,
is_authenticated BOOLEAN DEFAULT FALSE,
timestamp timestamp default now() NOT NULL
);
Note: If you’re using Supabase interface, don’t forget to tick Enable Realtime setting after you created the table.
Setup GitHub authentication (optional)
Follow instrunction here
Dev
npm run dev to run server on port 3000
Build
npm run build to build the react client
Demo
https://random-chat.netlify.app

Real-time Chat Application
Project Details
- Mimo-Inverse/realtime-chat-supabase-react
- Apache License 2.0
- Last Updated: 3/20/2025
Recomended MCP Servers
An implementation of Model Context Protocol (MCP) server for Argo CD.
A Model Context Protocol (MCP) server implementation that provides Elasticsearch and OpenSearch interaction.
mcp learning
✨✨✨ Geeker Admin,基于 Vue3.4、TypeScript、Vite5、Pinia、Element-Plus 开源的一套后台管理框架。
A Kubernetes MCP (Model Control Protocol) server that enables interaction with Kubernetes clusters through MCP tools.
A simple MCP server that delivers you jobs based on your needs
eladmin mybatis-plus版本:项目基于 Spring Boot 2.7.18 、MyBatis-Plus、Spring Security、Redis、Vue的前后端分离的后台管理系统, 权限控制采用 RBAC,支持数据字典与数据权限管理,支持一键生成前后端代码,支持动态路由
mcp model-context-protocol mysql cursor n8n
An MCP for WireShark (tshark). Empower LLM's with realtime network traffic analysis capability





