Core technologies
| Technology | Version | Purpose | Documentation |
|---|---|---|---|
| Next.js | 15 | React framework with App Router | nextjs.org/docs |
| React | 19 | UI library for component-based interfaces | react.dev |
| TypeScript | 5.5 | Type-safe JavaScript | typescriptlang.org |
| Tailwind CSS | 4 | Utility-first CSS framework | tailwindcss.com |
| Shadcn UI | Latest | Component library (50+ components) | ui.shadcn.com |
| Recharts | Latest | Charting library | recharts.org |
| Lucide | Latest | Icon library | lucide.dev |
| Sonner | Latest | Toast notifications | sonner.emilkowal.ski |
| PostgreSQL | Latest (Neon) | Built-in database | neon.tech/docs |
| Prisma | Latest | Database ORM | prisma.io/docs |
| Inngest | Latest | Background workflows and scheduled jobs | inngest.com/docs |
Architectural decisions
These are the key architectural patterns used in every Vybe app. Understanding them helps you write better prompts and understand the AI’s output.App Router (not Pages Router)
Vybe uses the Next.js 15 App Router exclusively. All pages use theapp/ directory structure with file-based routing.
Server Components by default
Components are server-rendered unless explicitly marked with"use client" at the top of the file. Server Components can fetch data directly, access the database, and read environment variables.
API routes instead of Server Actions
Vybe apps use API routes for all server-side mutations. Server Actions are not used.Dynamic route params in Next.js 15
Next.js 15 changed how dynamic route parameters work. Theparams object is now a Promise:
This
Promise<{ id: string }> pattern is specific to Next.js 15 and the App Router. The AI handles this automatically, but it is useful to understand if you are reading the generated code.Database
Every Vybe app includes a built-in PostgreSQL database hosted on Neon. The database is managed through Prisma ORM. Key details:- Schema is defined in
prisma/schema.prisma - Migrations are managed by the AI when you request schema changes
- The database is available in both development (sandbox) and production (deployed app)
- You can also connect external databases (PostgreSQL, MySQL, Amazon Redshift) through Integrations
Background workflows
Inngest powers background processing in Vybe apps. Use workflows for:- Scheduled tasks — sync data every 15 minutes, send daily reports
- Event-driven processing — trigger actions when database records change
- Long-running operations — batch data processing, multi-step pipelines
What this means for your prompts
You do not need to specify technology choices in your prompts. The AI knows the full stack and uses the right tools automatically. However, understanding the stack helps you:- Read the generated code more easily
- Ask targeted questions about how things work
- Debug issues by understanding the architecture
- Write better prompts by referencing the right concepts (e.g., “add an API route” instead of “add a server action”)
What’s next
- See which AI models are available: AI Models Reference
- Review available packages: Available Packages
- Understand platform constraints: Platform Limitations