realworld
swagger
realworld | swagger | |
---|---|---|
2 | 5 | |
9 | 1,609 | |
- | 0.9% | |
8.1 | 9.6 | |
28 days ago | 5 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
realworld
-
Ditsmod - new NodeJS framework writen in TypeScript
You can also see examples with RealWorld implementation. The specification itself can be found on the official website:
-
Announcing Ditsmod 2.0 beta (with RealWorld example)
Also, you can browse Ditsmod application containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.
swagger
-
Can you tell me what's the difference of using @nestjs/swagger instead of class-validators for DTO validation? thank you
Yeah the API is very similar but they serve different purposes as you mention here. It looks like there's been some discussion about aligning them since other people have had a similar observation.
-
NestJS + esbuild workarounds
1. openapi is not defined. https://github.com/nestjs/swagger/issues/1450
-
decorators
The repository for every optional NestJS package that has decorators seems to consistently put them in /lib/decorators. For example, here are the NestJS Swagger decorators.
-
OpenAPI Specification: The Complete Guide
NestJS provides a dedicated module which allows generating OpenAPI (Swagger) - Github - nestjs/swagger
-
Announcing Ditsmod 2.0 beta (with RealWorld example)
Thanks to the system of extensions, Ditsmod applications are more expressive and with less code. For example, if you compare OpenAPI modules written in Ditsmod and NestJS, the Ditsmod module is 3.5 times smaller in the number of lines of code or the number of files.
What are some alternatives?
Angular - Deliver web apps with confidence 🚀
springfox - Automated JSON API documentation for API's built with Spring
drf-spectacular - Sane and flexible OpenAPI 3 schema generation for Django REST framework.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
nestjs-otel - OpenTelemetry (Tracing + Metrics) module for Nest framework (node.js) 🔭
nest-cli - CLI tool for Nest applications 🍹
realworld - "The mother of all demo apps" — Exemplary fullstack Medium.com clone powered by React, Angular, Node, Django, and many more
axios - Axios module for Nest framework (node.js) 🗂
swagger-blocks - Define and serve live-updating Swagger JSON for Ruby apps.
next-swagger-doc - This package reads your JSDoc-annotated source code on NextJS API route and generates an OpenAPI (Swagger) specification.
card-game-fool-api - API карточной игры.
esbuildnx - Esbuild plugin for Nx