TypeScript Projects
20 free TypeScript projects with source code and tutorials.
TypeScript API Client Generator
Build an auto-generating API client from OpenAPI specs with type-safe request/response.
TypeScript Error Handling Patterns
Implement Result type, custom error classes, error boundaries, and retry strategies.
TypeScript GraphQL Code Generator
Auto-generate TypeScript types from GraphQL schemas with custom scalar mapping.
TypeScript Plugin Architecture
Design an extensible plugin system with hook-based lifecycle, typed APIs, and lazy loading.
TypeScript Config Management
Build a type-safe config loader with env variables, defaults, validation, and secret masking.
TypeScript WebSocket Server
Build a type-safe WebSocket server with message schemas, rooms, and reconnection logic.
TypeScript Dependency Injection Container
Create an IoC container with auto-resolution, scoped lifetime, and decorator registration.
TypeScript Middleware Pipeline
Build a composable middleware system with type-safe context passing and error handling.
TypeScript Builder Pattern API
Implement the builder pattern with method chaining, fluent interfaces, and type narrowing.
TypeScript ORM with Drizzle
Define type-safe database schemas and queries using Drizzle ORM with PostgreSQL.
TypeScript Testing with Vitest
Write type-safe tests using Vitest with mocking, snapshots, and coverage configuration.
TypeScript Validation with Zod
Build complex validation schemas with Zod: unions, transforms, refinements, and error maps.
TypeScript Event Emitter Library
Create a strongly-typed event emitter with listener type inference and wildcard support.
TypeScript CLI Framework
Build a type-safe CLI framework with argument parsing, help generation, and plugin system.
TypeScript Monorepo with Turborepo
Set up a monorepo with shared packages, TypeScript project references, and Turborepo.
TypeScript Decorator Patterns
Use experimental decorators for logging, validation, memoization, and dependency injection.
TypeScript Generic Data Structures
Implement type-safe linked list, binary tree, hash map, and priority queue with generics.
TypeScript State Machine Library
Build a type-safe finite state machine with transitions, guards, and event handling.
TypeScript Express API Boilerplate
Create a production-ready Express API with TypeScript, Zod validation, and Prisma ORM.
TypeScript Utility Types Deep Dive
Master advanced utility types: Pick, Omit, Record, Conditional types, and mapped types.