Skip to content
christianf7Public

About

Turn meetings into relationships.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Relio

A social networking app built for real-world connection.

Relio helps people discover events, meet nearby peers, and connect instantly with branded QR flows.

Stack

TypeScript Expo React Native Next.js React tRPC TanStack Query Prisma PostgreSQL Better Auth Elasticsearch Turbo pnpm

What Relio Does

  • 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

Monorepo Layout

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

Prerequisites

  • Node.js ^22.21.0
  • pnpm ^10.19.0
  • PostgreSQL database (via POSTGRES_URL)
  • Optional: Elasticsearch for search/recommendation features

Quick Start

# 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.

Useful Commands

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 data

Mobile App Notes

Run Expo app only:

pnpm --filter @acme/expo dev

Platform-specific:

pnpm --filter @acme/expo dev:ios
pnpm --filter @acme/expo dev:android

Web App Notes

Run Next.js app only:

pnpm --filter @acme/nextjs dev

Authentication

Relio 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

Search

Elasticsearch powers fast event/user discovery and recommendation workflows.

  • Index setup: pnpm es:ensure-indices
  • Seed data: pnpm es:seed
  • Related docs: ELASTICSEARCH.md

Tech Principles

  • 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

Status

Actively evolving product codebase.

If you are contributing, open an issue or PR with clear reproduction steps, screenshots, and environment details.

About

Turn meetings into relationships.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages