Skip to content
Projekte

kyh/yours-sincerely

Auf GitHub ansehen

Über uns

Anonymous love letters 💌 written in disappearing ink

Web- und App-Entwicklung

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
+1
in 7 days
+1
in 15 days
Verlauf wird gesammelt
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

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:

Ähnliche Projekte entdecken

Wird geladen…