Introducing wexts v2.0

The Full-StackTypeScript Framework

Build production-ready applications with Next.js 16 and NestJS 10.Type-safe from database to UI. Zero configuration.

~/my-app
$npx wexts my-app
100%
Type Safe
End-to-end TypeScript
0ms
Cold Start
Instant RPC calls
< 1KB
Runtime
Minimal overhead
10x
Faster
Than REST APIs

Built for production

Everything you need to ship modern applications, in one framework

RPC Out of the Box

Call backend functions from frontend with full type safety. No API routes, no fetch calls.

Full Type Safety

End-to-end TypeScript from database to UI. Catch errors at compile time, not runtime.

Prisma Integration

Built-in Prisma ORM with automatic migrations and type-safe database queries.

Monorepo Ready

TurboRepo-powered monorepo with shared types and packages across your entire stack.

Modern Stack

Next.js 16, React 19, NestJS 10, and Tailwind CSS v4. Always up to date.

Zero Config

Start coding immediately. No complex setup, no configuration hell.

See it in action

Write your controller, use it in your component. That's it.

users.controller.tsNestJS
@Injectable()
export class UsersService {
  @RPC() // ✨ Magic!
  async getUser(id: string) {
    return this.prisma.user
      .findUnique({ where: { id } });
  }
}
users.tsxNext.js
import { rpc } from '@wexts/sdk';

export default function UsersPage() {
  const user = await rpc.users
    .getUser('123');

  // Full type safety! 🎉
  return <div>{user.name}</div>;
}
No API routes
No fetch calls
Full autocomplete
Type-safe end-to-end

Deep dive into features

Explore how wexts makes full-stack development effortless

Automatic RPC Generation

Just add @RPC() decorator to any NestJS method and instantly call it from your Next.js frontend with full type safety.

// Backend
@RPC()
async createPost(data: CreatePostDto) {
  return this.postsService.create(data);
}

// Frontend - Automatically generated!
const post = await rpc.posts.createPost({
  title: "Hello World",
  content: "This just works!"
});

Built-in Validation & Security

Automatic request validation, error handling, and security middleware. No manual setup required.

// DTOs are automatically validated
class CreatePostDto {
  @IsString()
  @MinLength(3)
  title: string;

  @IsString()
  content: string;
}

// Type errors & runtime validation
// happen automatically

Monorepo Architecture

Shared types, DTOs, and utilities across your entire stack. Change once, update everywhere.

// packages/shared/types.ts
export interface User {
  id: string;
  name: string;
  email: string;
}

// Used in both apps automatically!
// No manual type syncing needed

Insight GUI Dashboard

Visual control panel to monitor RPC calls, manage database with Prisma GUI, view logs, and debug in real-time.

// Access at http://localhost:3001
- 📊 Real-time RPC monitoring
- 🗄️ Prisma Studio integration
- 📝 Service logs viewer
- 🔍 Request/Response inspector
- ⚡ Performance metrics

Modern tech stack

Built on the latest and greatest tools in the ecosystem

Frontend

Next.js 16
React framework with App Router
⚛️
React 19
Latest React with Server Components
🎨
Tailwind CSS v4
Utility-first CSS framework
📘
TypeScript
Type-safe JavaScript

Backend

🐱
NestJS 10
Progressive Node.js framework
🔷
Prisma 5
Next-generation ORM
Class Validator
Decorator-based validation
🚀
Express/Fastify
HTTP server (your choice)

Tooling

⚙️
TurboRepo
High-performance build system
📦
PNPM
Fast package manager
ESLint & Prettier
Code quality and formatting
🧪
Vitest
Blazing fast unit testing

Perfect for any use case

From MVPs to enterprise applications, wexts scales with your needs

E-commerce Platforms

Build scalable online stores with real-time inventory, payment processing, and order management.

  • Product catalog
  • Cart & checkout
  • Payment integration
  • Order tracking

SaaS Applications

Create multi-tenant applications with authentication, subscriptions, and team collaboration.

  • User management
  • Billing & subscriptions
  • Team workspaces
  • Analytics dashboard

Social Platforms

Develop social networks with real-time messaging, feeds, and user interactions.

  • Real-time chat
  • Activity feeds
  • Notifications
  • Media uploads

Admin Dashboards

Build powerful internal tools with data visualization, reporting, and management features.

  • Data tables
  • Charts & graphs
  • CRUD operations
  • Export functionality

Frequently asked questions

Everything you need to know about wexts

wexts is a full-stack TypeScript framework that combines Next.js 16 and NestJS 10 in a monorepo. It provides automatic RPC generation, end-to-end type safety, and zero configuration setup.
Unlike tRPC which requires manual router setup, wexts automatically generates your API from NestJS decorators. Compared to GraphQL, there's no schema definition needed - your TypeScript types ARE the schema.
Yes! You can integrate wexts into existing Next.js or NestJS projects. The framework is designed to be incremental - start with one RPC endpoint and gradually migrate more functionality.
wexts uses Prisma ORM, which supports PostgreSQL, MySQL, SQLite, SQL Server, MongoDB, and CockroachDB. You can use any database that Prisma supports.
Yes! wexts v2.0 is stable and battle-tested in production. It includes built-in error handling, validation, logging, and monitoring features required for production applications.
Deploy the Next.js frontend to Vercel/Netlify and the NestJS backend to any Node.js hosting (Render, Railway, AWS, etc.). The monorepo structure makes it easy to deploy both apps together or separately.

Start building today

Join developers building production applications with wexts

Open Source
MIT Licensed
Production Ready