# Examples

> Full-stack example apps built on Aerostack — AI chat, realtime collaboration, customer support bots, SaaS backends, GitHub agents, and more.

Ready-to-use, copy-paste examples. Each one is a complete, working application — server code and client code included.

## Realtime examples

Six examples built on the Aerostack Realtime SDK demonstrating different WebSocket patterns.

  
  
  
  
  
  

  
  

## Run all examples locally

Clone the examples repository and run the socket-hub demo:

```bash
# Clone and install
git clone https://github.com/aerostack/aerostack
cd examples/socket-hub
npm install

# Set your project credentials
cp .env.example .env

# Start the frontend
npm run dev

# In a separate terminal, start the server
cd server
npm run dev
```

Open `http://localhost:5173` and open multiple tabs to see real-time sync in action.
