Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 725 Bytes

File metadata and controls

25 lines (17 loc) · 725 Bytes

📦 Shared

A package with all things shared between frontend and backend.

Includes

  • DTOs - Data Transfer Objects for API communication
  • Types - Shared TypeScript interfaces and types
  • Enums - Common enumerations used across apps
  • Utilities - Shared helper functions and constants

Benefits

  • Type-safe API contracts between frontend and backend
  • Single source of truth for shared data structures
  • Reduced code duplication across applications
  • Better maintainability when updating shared interfaces

Usage

Import shared types and DTOs in your frontend and backend applications:

import {Dto, type Type} from '@next-nest-turbo-auth-boilerplate/shared';