# Relay Chirp

A small Twitter-style example for Relay.

## Run

```bash
./target/debug/relay examples/twitter_clone/app.ry
```

The example expects a local MongoDB instance at `mongodb://localhost:27017` and uses the `twitter_clone` database.

## Features

- Signup and login with Relay sessions
- Short text posts
- Public profile pages
- Follow and unfollow actions
- Home feed plus discover feed
- Multi-file Relay app with a static SPA frontend

## Layout

- `app.ry` boots the web app and imports the route modules
- `lib/common.ry` holds shared helpers and Mongo collection access
- `routes/` contains page, auth, feed, and profile APIs
- `static/` contains the browser UI
