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
Shell and coding agent on claude desktop app
Дипломная работа 2025
Demo MCP tool to capture URL screenshot.
A free MCP server to analyze and extract insights from public filings, earnings transcripts, financial metrics, stock market...
Heroku Platform MCP Server
A Model Context Protocol server providing LLM Agents with system utilities and tools, including IP geolocation, network diagnostics,...
Model Context Protocol (MCP) to enable AI LLMs to trade using MetaTrader platform
MCP server for apple notes
Open source MCP server for Vectara
Coding assistant MCP for Claude Desktop





