Documentation Index
Fetch the complete documentation index at: https://mintlify.com/egeuysall/ryva-archive/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Ryva frontend is built with Next.js 16 using the App Router, React 19, TypeScript, and Tailwind CSS. The codebase follows a feature-based modular architecture with clear separation of concerns.Technology Stack
- Core Framework
- State & Data
- UI & Styling
- Backend & Services
- Next.js 16.1.1 - React framework with App Router
- React 19.2.3 - UI library with React Compiler enabled
- TypeScript 5.9 - Type safety and developer experience
- Tailwind CSS 4.1 - Utility-first CSS framework
Directory Structure
Route Organization
Next.js App Router uses route groups for logical organization:(auth) - Authentication Routes
(auth) - Authentication Routes
Unauthenticated routes for login, signup, password reset, and onboarding.
/login- Sign in page/signup- User registration/forgot-password- Password recovery/reset-password- Password reset form/onboarding- New user onboarding/auth/callback- OAuth callback handler
(dashbord) - Protected Dashboard
(dashbord) - Protected Dashboard
Authenticated application routes requiring login.
/app- Main dashboard/app/projects- Project management/app/invitations- Pending invitations/app/settings/*- User and org settings/app/billing/*- Subscription management/app/checkout- Payment checkout
(marketing) - Public Pages
(marketing) - Public Pages
Public-facing marketing and content pages.
/- Homepage/blog- Blog listing/blog/[slug]- Blog post/docs- Documentation/docs/[category]/[slug]- Doc page/privacy- Privacy policy/terms- Terms of service
(admin) - Admin Panel
(admin) - Admin Panel
Administrative interface (Sanity Studio).
/admin- Sanity Studio CMS
Module Architecture
Each feature module follows a consistent structure:Modules are self-contained and export their public API through
index.ts. This prevents tight coupling and makes refactoring easier.Key Conventions
File Naming
- Components:
kebab-case.tsx(e.g.,team-switcher.tsx) - Hooks:
use-*.ts(e.g.,use-auth-api.ts) - Types:
types.tsorindex.tsin/typesfolder - Pages: Next.js conventions (
page.tsx,layout.tsx)
Component Organization
Rule of thumb: If a component is used in only one module, it lives in that module’s
components/ folder. If it’s shared across features, it goes in src/components/.Import Aliases
The project uses@/ as the root import alias:
Configuration Files
- package.json
- next.config.js
- tailwind.config.ts
- tsconfig.json
Build & Development
The project requires Node.js >= 20.0.0 and pnpm >= 9.0.0.
Next Steps
Component Patterns
Learn about component architecture and UI patterns
State Management
Understand TanStack Query and Zustand patterns