Roomie is a modern monorepo for a roommate discovery and management platform. It includes a production-ready Next.js app, an admin interface, a web client, shared UI components, and database/package utilities — designed for discoverability, onboarding, and matching roommates based on preferences and compatibility.
- Fast, SEO-friendly frontend built with Next.js (multiple apps in the monorepo)
- Admin dashboard for management and moderation
- Onboarding flows with profile verification and preference capture
- Discover & compatibility matching between profiles
- Reusable UI components in
packages/ui - Database helpers and queries in
packages/db - Supabase config and SQL migrations for local dev
apps/— Next.js applications (app, admin, web)packages/— shared packages (ui, db, config, types, etc.)supabase/— Supabase config, migrations, seed dataimplementationRoomie.md— project implementation notes
For details see the actual folder contents in the repo.
- Next.js (App Router)
- TypeScript
- Tailwind CSS
- Supabase (Postgres + auth) and SQL migrations
- Monorepo toolchain (node package manager of choice: pnpm/yarn/npm)
- Node.js 18+ (or later LTS)
- A package manager:
pnpmrecommended,npmoryarnwill work - Supabase CLI (optional) if you want to run a local Supabase instance
- Install dependencies at the repo root:
pnpm install
# or
npm install-
Create environment files for each app you plan to run (example:
apps/app/.env.local,apps/web/.env.local,apps/admin/.env.local) and add any required variables (Supabase URL/KEY, NEXTAUTH settings, etc.). -
Run the development servers (from repo root or inside an app folder):
pnpm dev
# or
npm run dev- If using Supabase locally, apply migrations and seed data:
supabase db reset # or use your workflow to apply migrations in supabase/migrationsNotes
- This repository is a monorepo with multiple apps; run the specific app's dev server from its folder if needed.
Build the apps (run from repo root or inside the specific app):
pnpm build
# or
npm run buildThen start the production server for the target app:
pnpm start
# or
npm start- Check each app/package for tests. Run the monorepo test command if available:
pnpm test
# or
npm run test- Store secrets in
.env.localfiles per Next.js best practices. Do not commit secrets to version control. - Typical environment variables:
NEXT_PUBLIC_SUPABASE_URL,SUPABASE_SERVICE_ROLE_KEY,NEXTAUTH_URL, OAuth client IDs/secrets.
- Supabase configuration and SQL migration files are under
supabase/. - Use your preferred workflow or the Supabase CLI to run migrations and seed the database.
- Please open issues or PRs for bugs, feature requests, or documentation fixes.
- Follow the code style already present in the repository and run lint/formatting where applicable.
- App entry points:
apps/*/app/(layouts, pages, routes) - Shared UI:
packages/ui/src - Database queries/types:
packages/db/src - Supabase migrations:
supabase/migrations
If you want help adapting the README for a specific deployment (Vercel, AWS, Dockerized Supabase, etc.), tell me which platform and I’ll add platform-specific steps.
Generated and added to the project root. If you want the file renamed to READMME.md exactly, or expanded with CI/deployment steps, say which CI or host to target.