A social networking app built for real-world connection.
Relio helps people discover events, meet nearby peers, and connect instantly with branded QR flows.
-
Instant QR-based profile and event connections
-
Event creation, discovery, and attendance flow
-
People discovery and connection requests powered by Elastic search
-
1:1 messaging and event chat
-
Structured onboarding with role selection
-
Profile management with social links and course metadata
-
For more information on the elastic implementation, see the ELASTICSEARCH.md
apps/
expo/ Mobile app (Expo + React Native)
nextjs/ Web app and API host (Next.js + tRPC)
packages/
api/ tRPC routers
auth/ Better Auth config
db/ Prisma schema and DB package
es/ Elasticsearch indexing/search helpers
ui/ Shared web UI package
validators/ Shared validation schemas
tooling/
eslint/ prettier/ tailwind/ typescript shared configs
- Node.js
^22.21.0 - pnpm
^10.19.0 - PostgreSQL database (via
POSTGRES_URL) - Optional: Elasticsearch for search/recommendation features
# 1) Install dependencies
pnpm i
# 2) Configure env vars
cp .env.example .env
# 3) Generate auth schema
pnpm auth:generate
# 4) Sync Prisma schema
pnpm db:push
# 5) (Optional) Ensure ES indices
pnpm es:ensure-indices
# 6) Run all apps/packages in watch mode
pnpm dev
Optionally you can also seed with pnpm db:seed & pnpm es:seed to fill with test data.pnpm dev # start workspace dev watch
pnpm dev:next # run Next.js-focused dev watch
pnpm typecheck # typecheck all packages
pnpm lint # lint all packages
pnpm format:fix # auto-format
pnpm db:studio # open Prisma Studio
pnpm db:migrate # run Prisma migrate
pnpm db:seed # seed database
pnpm es:seed # seed Elasticsearch dataRun Expo app only:
pnpm --filter @acme/expo devPlatform-specific:
pnpm --filter @acme/expo dev:ios
pnpm --filter @acme/expo dev:androidRun Next.js app only:
pnpm --filter @acme/nextjs devRelio uses Better Auth with OAuth support and Expo compatibility.
- Auth config:
packages/auth/src/index.ts - Auth schema generation:
pnpm auth:generate - Expo flow support via Better Auth Expo plugin and OAuth proxy
Elasticsearch powers fast event/user discovery and recommendation workflows.
- Index setup:
pnpm es:ensure-indices - Seed data:
pnpm es:seed - Related docs:
ELASTICSEARCH.md
- End-to-end typesafety (tRPC + TypeScript)
- Shared packages for API/auth/db/validators
- Fast iterative dev with Turborepo pipelines
- Mobile-first product with dedicated web companion app
Actively evolving product codebase.
If you are contributing, open an issue or PR with clear reproduction steps, screenshots, and environment details.