nv

next-vibe

Welcome to next-vibe

A comprehensive starter template for building Next.js applications with strongly typed API endpoints, authentication, and more.

Key Features

Strongly Typed APIs

Define endpoints with full TypeScript support and Zod validation.

Build type-safe APIs that validate both request and response data, providing excellent developer experience and runtime safety.

Role-Based Access

Integrated user role management and authorization.

Secure your endpoints with built-in role-based access control, ensuring users can only access what they're allowed to.

Data Providers

Flexible data access with Prisma integration.

Connect to your database with ease using built-in data providers, with first-class support for Prisma ORM.

Client Hooks

React hooks for data fetching and mutation.

Consume your API endpoints with custom React hooks that handle loading, error states, and caching.

Form Integration

Form handling with validation and API integration.

Build forms that automatically validate against your API schemas, with built-in submission handling.

Authentication

Built-in authentication and session management.

User authentication, JWT handling, and session management come pre-configured and ready to use.

How It Works

Build complete, type-safe applications with minimal boilerplate. Here's how to get started:

The next-vibe Workflow

A complete development cycle with type safety at every step

Next-vibe workflow diagram

1. Define Schemas

Create Zod schemas for request and response validation

2. Create Endpoints

Configure API endpoints with type-safe definitions

3. Consume APIs

Use strongly-typed hooks in your frontend components

Get Started Today

Quick Start

git clone https://github.com/techfreaque/next-vibe
View Developer Docs

Check out the API Documentation for more details.