samchon / nestia

NestJS Helper Libraries + TypeScript OpenAPI generator
https://nestia.io/
MIT License
1.81k stars 94 forks source link
api class-validator decorator hacktoberfest nestjs sdk swagger trpc typescript typia validator

Nestia

Nestia Logo

GitHub license npm version Downloads Build Status Guide Documents Discord Badge

Nestia is a set of helper libraries for NestJS, supporting below features:

[!NOTE]

  • Only one line required, with pure TypeScript type
  • Enhance performance 30x up
    • Runtime validator is 20,000x faster than class-validator
    • JSON serialization is 200x faster than class-transformer
  • Software Development Kit
    • Collection of typed fetch functions with DTO structures like tRPC
    • Mockup simulator means embedded backend simulator in the SDK
    • similar with msw, but fully automated

nestia-sdk-demo

Left is NestJS server code, and right is client (frontend) code utilizing SDK

Sponsors and Backers

Thanks for your support.

Your donation would encourage nestia development.

Backers

Guide Documents

Check out the document in the website:

🏠 Home

πŸ“– Features

πŸ”— Appendix