smooth-app
전 세계 식품의 성분·영양·정보를 자유롭게 협업하고 공개하는 데이터베이스
LogYourBody
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗A private iPhone body-composition timeline. Weight, body fat, lean mass, HealthKit data, and progress photos in one place.
The native paid iOS app is the default product. Web is marketing, legal, support, billing, and first-party APIs.
| Layer | Source of truth |
|---|---|
| Identity | Jovie Better Auth issuer, OAuth clients logyourbody-ios / logyourbody-web. Sign in with Apple only. No Clerk. |
| Cloud data | Neon via first-party bearer APIs. Native never connects to Postgres. |
| Device data | Core Data |
| Product shell | Timeline is paid home. Stats and Chat are peers. |
| Chat | LYB-5 bearer API (/api/auth/mobile/chat/v1); external eve.dev backend migration stays behind this contract |
| Photos | Cloudflare R2 via first-party signed PUTs. Neon stores the public URL, not the bytes. |
JOV-4831 / PR #903 completed the first-party Neon schema, sync, and deletion cutover.
apps/ios Native SwiftUI app
apps/web Next.js marketing / legal / first-party API
agent/ External eve.dev backend definition for core chat
packages/ product-registry, shared-lib, design-tokens
apps/web/db/ Canonical Neon migrations
Prerequisites: Node.js 20+, pnpm, Xcode 15+ (iOS).
pnpm install
pnpm --filter logyourbody dev
Web env: copy apps/web/.env.example to apps/web/.env and set Jovie OAuth + Neon (DATABASE_URL).
iOS: open apps/ios/LogYourBody.xcodeproj, configure signing, build.
From the repo root (pnpm + Turborepo):
pnpm lint / pnpm typecheck / pnpm test / pnpm buildpnpm product:check after registry or public-copy changespnpm ios to open the Xcode projectpnpm eve:info / eve:build / eve:dev run the external eve.dev core-chat
backend definition through isolated Node 24; the web app uses its own
pinned engine (see .nvmrc).pnpm eve:smoke runs credential-free connected and unconnected boundary
evals. See the migration boundary.Proprietary. See LICENSE. This repository is public solely to support CI; it is not open source.
Support: [email protected]
See source parity and the generated source map. Shared policy is pinned; local manifest, build, test and release instructions remain owned by this repository.