Overview
tramvai
is a lightweight web framework for building SSR applications with a modular system and DI to quickly extend the functionality of applications.
Key featuresโ
โ๏ธ Universal
Creates SSR
React
applications - includes solid server with metrics, health checks and graceful degradation support๐ Dependency Injection
Provides simple and powerful DI system, inspired by
Angular
andNest.js
best practices๐งฉ Modular
Every application build from list of feature modules - doing one thing right!
โก Fast and lightweight
Enforces best web-performance techniques - resources preloading and inlining, lazy hydration ๐, modern ES bundles, tree-shakable libraries
๐ Chain of commands
Elegant pattern for complete control over application life-cycle - predictable flow for every HTTP request into application, running async actions in parallel, limits the duration of server-side actions
๐งฑ Micro Frontends
Heavily integrated solution for Micro Frontends with SSR and Module Federation
๐ ๏ธ Tooling
Functional CLI for generating, develop, analyze, and bundling
tramvai
applications - powered bywebpack@5
andswc
๐งช Testing
Complete set of unit and integration testing utilites - powered by
jest
andtesting-library
๐๏ธ Migrations
Automatic migrations with
jscodeshift
codemodes