{
  "markdown": "# Bro\n\nBro is an offline-first men's wellbeing app. The product is an Expo/React\nNative client backed by a small Hono API, developed as an Nx and pnpm\nmonorepo.\n\nThe app works without an account. Product data is written to SQLite on the\ndevice; the API currently provides optional authentication and anonymous food\nlookup. Remote product-data sync, premium entitlements, and app protection are\nroadmap work rather than shipped behaviour.\n\n## Start locally\n\nPrerequisites: Node 20 or newer, pnpm, and Docker.\n\n```sh\npnpm install\ncp .env.example .env\ncp apps/app/.env.example apps/app/.env\n# Replace BETTER_AUTH_SECRET in .env; `openssl rand -base64 32` is suitable.\n\ndocker compose up -d\npnpm nx run @bro/database-api:db:migrate\n```\n\nThen start the API and app in separate terminals:\n\n```sh\npnpm nx run @bro/api:serve\n```\n\n```sh\npnpm nx run @bro/app:start\n```\n\nUse `http://10.0.2.2:3000` as `EXPO_PUBLIC_API_URL` on the Android emulator,\n`http://localhost:3000` on the iOS simulator or web, and the development\nmachine's LAN address on a physical device.\n\n## Workspace\n\n| Project | Responsibility |\n| --- | --- |\n| `@bro/app` | Expo application, routes, screens, feature stores, and native integrations |\n| `@bro/api` | Hono API for auth, account deletion, a health check, and food lookup |\n| `@bro/database-app` | On-device schemas, migrations, connections, and repositories |\n| `@bro/database-api` | Postgres schema, migrations, and Drizzle client |\n| `@bro/auth-app` | Better Auth Expo client and React provider |\n| `@bro/auth-api` | Better Auth server configuration |\n| `@bro/domain` | Shared catalogues, intake definitions, metric registry, and units |\n| `@bro/mobile-model` | Persistence-independent mobile record contracts |\n| `@bro/logic` | Pure calculations over mobile records |\n\nNx resolves the complete project and target configuration. Use\n`pnpm nx show projects` and `pnpm nx show project <name>` instead of inferring\nit from package files.\n\n## Documentation\n\n- [Documentation index](docs/README.md) — which document owns each concern\n- [Product](docs/product.md) — current product shape and behavioural rules\n- [Architecture](docs/architecture.md) — boundaries, dependencies, and storage\n- [Development](docs/development.md) — setup, commands, conventions, and checks\n- [Roadmap](docs/roadmap.md) — work that has not shipped yet\n- [Design package](design/README.md) — design authority and platform mapping\n- [Historical plans](docs/archive/README.md) — completed and superseded decisions\n\nSource code and tests are authoritative when documentation disagrees with the\nimplementation. `openwiki/` is generated evidence, not hand-maintained product\ndocumentation.\n",
  "bytes": 2675,
  "sha": "a83b9dd6ac3f3ba19b8bf190a8b8fe5e4b2d56648c28a63985aeae8881bd580e",
  "repo_slug": "bishsbytes/bro",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/okf_bishsbytes_bro_openwiki_index_md_87b43e03/readme"
}