Skip to content
Open
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
3 changes: 3 additions & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"api": {
"baseUrl": "https://app.d-sports.org"
},
"seo": {
"indexing": "all"
},
"favicon": "/favicon.svg",
"logo": "/logo/d-sports-logo.png",
"navigation": {
Expand Down
4 changes: 2 additions & 2 deletions repositories/d-sports-engage-native.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "d-sports-engage-native"
description: "Native iOS and Android app for D-Sports Engage. Expo 54, React Native, Clerk, RevenueCat, Thirdweb."

Check warning on line 3 in repositories/d-sports-engage-native.mdx

View check run for this annotation

Mintlify / Mintlify Validation (chronoscyberchronicles) - vale-spellcheck

repositories/d-sports-engage-native.mdx#L3

Did you really mean 'Thirdweb'?
icon: "smartphone"
---

## Overview

**d-sports-engage-native** (package name: `engage-native`) is the native mobile app for D-Sports. It mirrors the core PWA experience on iOS and Android: wallet, shop, leaderboard, locker room, and profile.

Check warning on line 9 in repositories/d-sports-engage-native.mdx

View check run for this annotation

Mintlify / Mintlify Validation (chronoscyberchronicles) - vale-spellcheck

repositories/d-sports-engage-native.mdx#L9

Did you really mean 'leaderboard'?

- **Run:** `bunx expo start` or `bun run start` — then press `a` for Android or `i` for iOS, or scan the QR code with Expo Go.

Expand All @@ -16,19 +16,19 @@
| ---------- | ------------------------- |
| Framework | Expo 54, React Native 0.81, React 19 |
| Auth | Clerk (Expo) |
| Payments | RevenueCat (react-native-purchases) |
| Payments | RevenueCat (StoreKit for iOS/Apple Pay, Play Billing for Android, Stripe for web) |
| Web3 | Thirdweb |

Check warning on line 20 in repositories/d-sports-engage-native.mdx

View check run for this annotation

Mintlify / Mintlify Validation (chronoscyberchronicles) - vale-spellcheck

repositories/d-sports-engage-native.mdx#L20

Did you really mean 'Thirdweb'?
| State | Zustand |

Check warning on line 21 in repositories/d-sports-engage-native.mdx

View check run for this annotation

Mintlify / Mintlify Validation (chronoscyberchronicles) - vale-spellcheck

repositories/d-sports-engage-native.mdx#L21

Did you really mean 'Zustand'?
| Storage | MMKV |
| UI | Lucide React Native |

Check warning on line 23 in repositories/d-sports-engage-native.mdx

View check run for this annotation

Mintlify / Mintlify Validation (chronoscyberchronicles) - vale-spellcheck

repositories/d-sports-engage-native.mdx#L23

Did you really mean 'Lucide'?
| Navigation | Expo Router |
| Package | Bun |

## Features

- **Wallet** — Tokens, holdings, pack opening, crypto checkout (via PWA backend)

Check warning on line 29 in repositories/d-sports-engage-native.mdx

View check run for this annotation

Mintlify / Mintlify Validation (chronoscyberchronicles) - vale-spellcheck

repositories/d-sports-engage-native.mdx#L29

Did you really mean 'crypto'?
- **Shop** — Collectibles, cart, coin bundles, checkout
- **Shop** — Collectibles, cart, coin bundles, checkout (all fiat payments via RevenueCat)
- **Leaderboard** — Rankings and filters

Check warning on line 31 in repositories/d-sports-engage-native.mdx

View check run for this annotation

Mintlify / Mintlify Validation (chronoscyberchronicles) - vale-spellcheck

repositories/d-sports-engage-native.mdx#L31

Did you really mean 'Leaderboard'?
- **Locker room** — Social feed and engagement
- **Profile** — User profile and settings
- **Theme** — Dark/light mode (default dark)
Expand All @@ -36,12 +36,12 @@
## Getting started

1. Clone the repository and run `bun install`.
2. Configure environment (Clerk, RevenueCat, Thirdweb, API base URL) per repo README.

Check warning on line 39 in repositories/d-sports-engage-native.mdx

View check run for this annotation

Mintlify / Mintlify Validation (chronoscyberchronicles) - vale-spellcheck

repositories/d-sports-engage-native.mdx#L39

Did you really mean 'Thirdweb'?
3. Run `bunx expo start`.
4. For development builds: `bun run build:dev` (EAS) or run with Expo dev client.

The app targets both native and web (responsive) and uses the same backend (d-sports-api) as the PWA for API and checkout flows.

<Card title="Ecosystem overview" icon="map" href="/repositories/ecosystem-overview">
See how the native app fits with the PWA, site, and Mic'd Up.

Check warning on line 46 in repositories/d-sports-engage-native.mdx

View check run for this annotation

Mintlify / Mintlify Validation (chronoscyberchronicles) - vale-spellcheck

repositories/d-sports-engage-native.mdx#L46

Did you really mean 'Mic'd'?
</Card>
52 changes: 26 additions & 26 deletions scripts/sync-openapi.ts
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
/**
* Copies the OpenAPI spec from d-sports-api (source of truth) into docs for Mintlify.
* Run from docs repo root: bun run sync-openapi
*/
import { cp, mkdir } from "node:fs/promises";
import { dirname, join } from "node:path";
import { fileURLToPath } from "node:url";

const __dirname = dirname(fileURLToPath(import.meta.url));
const docsRoot = join(__dirname, "..");
const apiRepoRoot = join(docsRoot, "..", "d-sports-api");
const src = join(apiRepoRoot, "openapi.json");
const dest = join(docsRoot, "api-reference", "openapi.json");

async function main() {
try {
await mkdir(dirname(dest), { recursive: true });
await cp(src, dest, { force: true });
console.log("Synced openapi.json from d-sports-api to docs/api-reference/openapi.json");
} catch (err) {
console.error("Sync failed:", err);
process.exit(1);
}
}

main();
/**
* Copies the OpenAPI spec from d-sports-api (source of truth) into docs for Mintlify.
* Run from docs repo root: bun run sync-openapi
*/
import { cp, mkdir } from "node:fs/promises";
import { dirname, join } from "node:path";
import { fileURLToPath } from "node:url";
const __dirname = dirname(fileURLToPath(import.meta.url));
const docsRoot = join(__dirname, "..");
const apiRepoRoot = join(docsRoot, "..", "d-sports-api");
const src = join(apiRepoRoot, "openapi.json");
const dest = join(docsRoot, "api-reference", "openapi.json");
async function main() {
try {
await mkdir(dirname(dest), { recursive: true });
await cp(src, dest, { force: true });
console.log("Synced openapi.json from d-sports-api to docs/api-reference/openapi.json");
} catch (err) {
console.error("Sync failed:", err);
process.exit(1);
}
}
main();