Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,36 @@ Write a TypeScript interface, get a fully working REST API with realistic mock d

---

## 🖥️ Try the Demo

The repo includes a ready-to-use demo with sample types and a frontend UI.

**1 — Install dependencies** (first time only)

```bash
npm install
```

**2 — Start the server**

```bash
npm start
```

This uses `.mock-config.json` at the root, which points to `demo/types/` on port `3000`.

**3 — Open the frontend**

Open `demo/index.html` directly in your browser (no server needed for the UI itself):

```
demo/index.html ← open this file in your browser
```

Then click **Connect** — the UI will automatically discover the available types (`User`, `Product`, `Order`) and let you browse, filter, create, edit, and delete mock data.

---

## ⚡ Quick Start

### 1 — Install
Expand Down
Loading
Loading