mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 02:45:07 +03:00
37 lines
591 B
Markdown
37 lines
591 B
Markdown
# Example chat room
|
|
|
|
Build a simple slack clone using Supabase, Postgres and React hooks.
|
|
|
|
|
|
<p align="center">
|
|
<kbd>
|
|
<img src="https://media.giphy.com/media/J07U8iblJhlKDqZOxV/giphy.gif" alt="Demo"/>
|
|
</kbd>
|
|
<br />
|
|
<a href="https://media.giphy.com/media/J07U8iblJhlKDqZOxV/source.gif">View full image</a>
|
|
</p>
|
|
|
|
|
|
## How to use
|
|
|
|
|
|
**Install dependencies**
|
|
|
|
```sh
|
|
npm install
|
|
```
|
|
|
|
**Start Supbase Dev**
|
|
|
|
```sh
|
|
docker-compose up -d
|
|
```
|
|
|
|
**Start the chat room**
|
|
|
|
```sh
|
|
npm run dev
|
|
```
|
|
|
|
Visit http://localhost:3000 and start slacking! Open in two tabs to see everything getting updated in realtime
|