Runtime Web
Unified Serverless Framework for Full-Stack TypeScript Applications
Build, deploy, and scale full-stack applications with a single codebase. Type-safe dependency injection, zero-config AWS deployment, and unified frontend-backend development for modern TypeScript teams.
index.tsx
import { runtime } from '@worktif/runtime';
runtime({app: App as React.FC<ReactComponentProps>,router: runtimeRouter({ router, defaults }),config: {serviceName: 'my-app',stage: 'prod'}});
Unified codebase • Type-safe dependency injection • Zero-config deployment
1,623 exports • 913 interfaces • 84 CLI commands
Create serverless APIs with dependency injection, automatic AWS Lambda deployment, and unified TypeScript development experience.
Deploy to AWS with zero configuration. Automatic CDK generation, environment management, and infrastructure as code.
Build React applications with type-safe routing, state management, and seamless backend integration. Zero configuration, maximum productivity.
Write backend, infrastructure, and frontend code in a single TypeScript project. Runtime Web Framework eliminates the complexity of managing separate repositories, build systems, and deployment pipelines while maintaining full type safety across your entire stack.
Your code automatically adapts to its execution environment. The same TypeScript functions run seamlessly in web environments, Lambda functions, or local development, with the framework handling environment-specific optimizations and resource management.
Built-in dependency injection with full TypeScript support ensures your services are properly wired at compile time. No runtime errors from missing dependencies, no configuration files to maintain, just clean, testable code with automatic service resolution.
Deep integration with AWS services through type-safe APIs and automatic resource provisioning. Deploy to Lambda, API Gateway, DynamoDB, and S3 with zero configuration while maintaining full control over your infrastructure through code.
Building full-stack applications but tired of managing separate backend, infrastructure, and frontend codebases. You want to leverage your TypeScript skills across the entire stack while maintaining the component-based patterns you love in React.
Working with AWS Lambda and serverless architectures but struggling with cold starts, deployment complexity, and maintaining type safety across services. You need a framework that makes serverless development as smooth as traditional web development.
Committed to type safety and developer experience but finding it difficult to maintain consistency across backend, infrastructure, and frontend code. You want the benefits of TypeScript everywhere without the overhead of multiple build systems.
Get started with a single command: npm install @worktif/runtime. The framework includes everything you need: TypeScript compiler, development server, infrastructure automation, testing utilities, and deployment tools.
Create your project structure with runtime init. This generates a TypeScript project with backend services, then infrastructure automation, and optional frontend components organized in a single repository with shared types.
Write your backend services using the runtime() function for dependency injection and context-aware execution. Add infrastructure automation with CDK constructs, then build frontend interfaces with familiar React patterns.
Deploy to AWS with runtime deploy. Your TypeScript code is automatically compiled, optimized, and deployed to Lambda functions, API Gateway, and static hosting with zero configuration required.