TypeScript Projects

20 free TypeScript projects with source code and tutorials.

Screenshot of TypeScript API Client Generator project
TypeScriptApr 28, 2025

TypeScript API Client Generator

Build an auto-generating API client from OpenAPI specs with type-safe request/response.

TypeScriptOpenAPIClientCode Gen
Read more → Source
Screenshot of TypeScript Error Handling Patterns project
TypeScriptApr 24, 2025

TypeScript Error Handling Patterns

Implement Result type, custom error classes, error boundaries, and retry strategies.

TypeScriptError HandlingResult TypePatterns
Read more → Source
Screenshot of TypeScript GraphQL Code Generator project
TypeScriptApr 20, 2025

TypeScript GraphQL Code Generator

Auto-generate TypeScript types from GraphQL schemas with custom scalar mapping.

TypeScriptGraphQLCode GenerationTypes
Read more → Source
Screenshot of TypeScript Plugin Architecture project
TypeScriptApr 16, 2025

TypeScript Plugin Architecture

Design an extensible plugin system with hook-based lifecycle, typed APIs, and lazy loading.

TypeScriptPluginArchitectureExtensible
Read more → Source
Screenshot of TypeScript Config Management project
TypeScriptApr 12, 2025

TypeScript Config Management

Build a type-safe config loader with env variables, defaults, validation, and secret masking.

TypeScriptConfigEnvironmentValidation
Read more → Source
Screenshot of TypeScript WebSocket Server project
TypeScriptApr 8, 2025

TypeScript WebSocket Server

Build a type-safe WebSocket server with message schemas, rooms, and reconnection logic.

TypeScriptWebSocketServerReal-time
Read more → Source
Screenshot of TypeScript Dependency Injection Container project
TypeScriptApr 4, 2025

TypeScript Dependency Injection Container

Create an IoC container with auto-resolution, scoped lifetime, and decorator registration.

TypeScriptDIIoCContainers
Read more → Source
Screenshot of TypeScript Middleware Pipeline project
TypeScriptMar 31, 2025

TypeScript Middleware Pipeline

Build a composable middleware system with type-safe context passing and error handling.

TypeScriptMiddlewarePipelinePatterns
Read more → Source
Screenshot of TypeScript Builder Pattern API project
TypeScriptMar 28, 2025

TypeScript Builder Pattern API

Implement the builder pattern with method chaining, fluent interfaces, and type narrowing.

TypeScriptBuilder PatternFluent APIOOP
Read more → Source
Screenshot of TypeScript ORM with Drizzle project
TypeScriptMar 24, 2025

TypeScript ORM with Drizzle

Define type-safe database schemas and queries using Drizzle ORM with PostgreSQL.

TypeScriptDrizzleORMPostgreSQL
Read more → Source
Screenshot of TypeScript Testing with Vitest project
TypeScriptMar 20, 2025

TypeScript Testing with Vitest

Write type-safe tests using Vitest with mocking, snapshots, and coverage configuration.

TypeScriptVitestTestingMocking
Read more → Source
Screenshot of TypeScript Validation with Zod project
TypeScriptMar 16, 2025

TypeScript Validation with Zod

Build complex validation schemas with Zod: unions, transforms, refinements, and error maps.

TypeScriptZodValidationSchema
Read more → Source
Screenshot of TypeScript Event Emitter Library project
TypeScriptMar 12, 2025

TypeScript Event Emitter Library

Create a strongly-typed event emitter with listener type inference and wildcard support.

TypeScriptEventsType InferenceLibrary
Read more → Source
Screenshot of TypeScript CLI Framework project
TypeScriptMar 8, 2025

TypeScript CLI Framework

Build a type-safe CLI framework with argument parsing, help generation, and plugin system.

TypeScriptCLIFrameworkNode.js
Read more → Source
Screenshot of TypeScript Monorepo with Turborepo project
TypeScriptMar 4, 2025

TypeScript Monorepo with Turborepo

Set up a monorepo with shared packages, TypeScript project references, and Turborepo.

TypeScriptMonorepoTurborepoDevOps
Read more → Source
Screenshot of TypeScript Decorator Patterns project
TypeScriptFeb 28, 2025

TypeScript Decorator Patterns

Use experimental decorators for logging, validation, memoization, and dependency injection.

TypeScriptDecoratorsPatternsDI
Read more → Source
Screenshot of TypeScript Generic Data Structures project
TypeScriptFeb 24, 2025

TypeScript Generic Data Structures

Implement type-safe linked list, binary tree, hash map, and priority queue with generics.

TypeScriptGenericsData StructuresAlgorithms
Read more → Source
Screenshot of TypeScript State Machine Library project
TypeScriptFeb 19, 2025

TypeScript State Machine Library

Build a type-safe finite state machine with transitions, guards, and event handling.

TypeScriptState MachinePatternsType Safety
Read more → Source
Screenshot of TypeScript Express API Boilerplate project
TypeScriptFeb 15, 2025

TypeScript Express API Boilerplate

Create a production-ready Express API with TypeScript, Zod validation, and Prisma ORM.

TypeScriptExpressZodPrisma
Read more → Source
Screenshot of TypeScript Utility Types Deep Dive project
TypeScriptFeb 11, 2025

TypeScript Utility Types Deep Dive

Master advanced utility types: Pick, Omit, Record, Conditional types, and mapped types.

TypeScriptUtility TypesGenericsAdvanced
Read more → Source