Pháptsedio/tsed
:triangular_ruler: Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone. ⭐️ Star to support our work!
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository của tuần
#1 Repository của tuần
#2 Repository của tuần
🏗️ Ts.ED — Framework TypeScript trên Express, decorators thay thế boilerplate
TypeScript + Express + decorators. Ts.ED gom tất cả vào một framework.
Ts.ED là Node.js framework hiện đại xây dựng bằng TypeScript, chạy trên nền Express.js. Dùng decorators để định nghĩa controllers, routes, middleware, services — giảm boilerplate và lỗi sai. Hỗ trợ Express.js, Koa.js, Bun.js, CLI và serverless (AWS).
✨ Điểm nổi bật
- Decorators cho routing: Định nghĩa route GET, POST, PUT, DELETE, HEAD trực tiếp trên phương thức class
- IoC / Dependency Injection: Providers dựa trên class với IoC container tích hợp sẵn
- Multi-platform: Chạy trên Express.js, Koa.js, Bun.js, CLI và serverless (AWS)
- CLI bootstrap: Tạo project sẵn sàng chạy chỉ với một lệnh
- OpenAPI & JSON Schema: Tích hợp sẵn trong core, tự sinh tài liệu API từ code
- Ecosystem phong phú: Hỗ trợ TypeORM, Mongoose, GraphQL, Socket.io, Passport.js, Swagger-ui
- Middleware & Pipes: Middleware class-based, error handler, data pipes
- Testing tích hợp: Testing không tùy chọn — có sẵn trong framework
💡 Vì sao đáng chú ý
Ts.ED thay thế boilerplate Express bằng decorators TypeScript và cấu trúc class-based. Định nghĩa controller, inject dependency, route endpoint bằng decorator thay vì callback lồng nhau. Framework ship kèm OpenAPI support nên tài liệu API tự sinh từ code, không cần file riêng.
Phù hợp team đã dùng TypeScript và muốn cấu trúc rõ ràng mà không mất đi sự linh hoạt của Express. CLI và preconfiguration giúp project chạy nhanh, testing tích hợp giữ mã nguồn ổn định ngay từ đầu.
#TypeScript #NodeJS #Decorators #IoC #RESTAPI #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
A progressive TypeScript framework for Node.js backends: from a small API in one file to efficient, scalable, enterprise-grade systems 🚀
Bidirectional and low-latency communication for every platform
The Prisma ORM: write your application in TypeScript with human-readable queries instead of SQL. Host your database on Prisma Postgres and your app on Prisma Compute.
Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
Extremely powerful Inversion of Control (IoC) container for Node.JS
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.