Skip to content
Proyek

kyh/yours-sincerely

Lihat di GitHub

Tentang

Anonymous love letters πŸ’Œ written in disappearing ink

Pengembangan web dan aplikasi

Cara angka ini diukur

40 bintang5 Fork +1 dalam 24 jam

Pertumbuhan bintang terukur

dalam 24 jam
+1
dalam 7 hari
+1
dalam 15 hari
Mengumpulkan riwayat
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

contributions welcome GitHub last commit

Yours Sincerely

πŸš€ Website | App Store | Play Store

Anonymous love letters πŸ’Œ written in disappearing ink.

Get Started

The application is built on a modified version of the T3 Turbo stack (to include Supabase).

The native apps are built with Expo and live in apps/expo.

.vscode
  └─ Recommended extensions and settings for VSCode users

apps
  β”œβ”€ web
  |  └─ Web client and server (Next.js)
  β”œβ”€ expo
  |  └─ iOS & Android apps (Expo / React Native) β€” the ones that ship
  └─ mobile
     └─ Legacy Capacitor shell β€” superseded by apps/expo, pending removal

packages
  β”œβ”€ contract
  |  └─ oRPC contract, plus the shared domain: zod schemas and pure rules used by both web and expo
  β”œβ”€ db
  |  └─ Drizzle schema and Postgres client
  β”œβ”€ service
  |  └─ oRPC routers implementing the contract, and session/auth
  └─ ui
     └─ UI package for the webapp using shadcn-ui

Install dependencies

  • Node.js - LTS version recommended (26.x)
  • macOS on Apple silicon, or Linux - the local database is the Supabase CLI (installed by pnpm install) running Postgres natively

Local Development

# Copy .env.example to .env and update variables
cp .env.example .env

# Set COOKIE_SECRET in .env (openssl rand -base64 32) β€” sessions are signed with it.
# `pnpm dev` falls back to an insecure dev constant without it; `pnpm build` and
# `pnpm verify` run as production and fail without it.

# Installing dependencies
pnpm install

# To start the database (local Supabase; it writes POSTGRES_URL and TEST_POSTGRES_URL into .env.database)
pnpm db:start

# To create the schema β€” a new local database is EMPTY (every git branch gets its
# own) and there are no migrations to replay, so this step is not optional
pnpm db:push

# To start the web app
pnpm dev:web

# To start the native app (Expo)
pnpm dev:expo

You'll be able to view the website at http://localhost:3000

Checks

pnpm verify      # typecheck + lint + format + knip + test + build β€” what CI runs

# …or individually
pnpm typecheck
pnpm lint        # oxlint (ultracite presets)
pnpm format      # oxfmt --check
pnpm knip        # unused files, exports and dependencies
pnpm test        # node:test; the database suites use the local `test` database
pnpm build

pnpm smoke       # drives a running app end-to-end (CI runs it against a production build)

Coding agents should start from AGENTS.md.

Stack

This project uses the following libraries and services:

Jelajahi proyek terkait

Memuat…