Giter Club home page Giter Club logo

docs.nestjs.cn's People

Contributors

armor-cn avatar dzzzzzy avatar elonglau avatar ethanyou725 avatar fanybook avatar finalwhy avatar fishel-feng avatar franken133 avatar fyzhu avatar ganshiqingyuan avatar godliangcy avatar havef avatar heiye9 avatar iyangsheng avatar jimmysh avatar leonzhao avatar nnnnzs avatar notevenaneko avatar renovate-bot avatar rmlzy avatar shenx-2021 avatar sunsssshine avatar tangkai123456 avatar tihssiefil avatar tth37 avatar weizy0219 avatar yuu2lee4 avatar znonymous29 avatar zuohuadong avatar zxc0der avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs.nestjs.cn's Issues

勘误

异常过滤器那一章,HttpException小节开头 包 HttpException 内 有一个内置的类 @nestjs/common,是不是写错了, 应该是包@nestjs/common 内 有一个内置的类 HttpException

nest.js 7 中文文档认领

  • 介绍(7/introduction)

  • 概述

    • 第一步 (7/firststeps)
    • 控制器 (7/controllers)
    • 提供者(7/providers)
    • 模块(7/modules)
    • 中间件(7/middlewares)
    • 异常过滤器(7/eceptionfilters)
    • 管道(7/pipes)
    • 守卫(7/guards)
    • 拦截器(7/interceptors)
    • 自定义装饰器(7/customdecorators)
  • 基本原理(7/fundamentals)

  • 技术(7/techniques)

  • GraphQL(7/graphql)

  • WEBSOCKETS(7/websockets)

  • 微服务(7/microservices)

  • 秘籍 (7/recipes)

  • 独立应用(7/standalone-applications)

  • CLI (7/cli)

  • FAQ (7/faq)

  • 迁移指南(7/migrationguide)

  • 谁在使用 Nest (7/discover)

回复:

比如
我要认领翻译「基础-依赖注入」

机翻加百度的文档吗?

首先对你们的工作表示敬意和感谢。
今天对graphql的auth有一点不理解,看了下官方文档属实头痛,找到了这个中文文档。点开Guards。人傻了。
TIM截图20200610133115
1
TIM截图20200610133152
TIM截图20200610133206
TIM截图20200610133215
TIM截图20200610133521
文档大概停留在7.0刚release的时候。
Overview几乎全机翻,翻译的时候自己都不读一下看通不通顺吗?不知道谁认领的,这种翻译我一天可以翻100个章节不吹牛逼。
Respect.

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

一些建议

根据这段时间的阅读,有一些可以提升阅读体验的建议。

  1. 建议有些特有名词直接使用英文单词,不进行翻译。
    controller不要翻译成控制器。modules不要翻译成模块,provider 不要翻译成提供者。
    比如 providers provider provide 其实是有区别的;而modules模块的翻译,太常用了,容易产生歧义。

  2. 右侧加入子导航栏,与官网保持一致。

微信一二群 加入申请

加入申请格式:

我是

  • 开源项目作者
  • nestjs 文档贡献者
  • 捐赠者

项目地址或证明截图:

回复该 issues 后,请加微信 :ivicerz

6.0 文档校对 认领

  • 介绍(6/introduction)

  • 概述

    • 第一步 (6/firststeps)
    • 控制器 (6/controllers)
    • 提供者(6/providers)
    • 模块(6/modules)
    • 中间件(6/middlewares)
    • 异常过滤器(6/exceptionfilters)
    • 管道(6/pipes)
    • 守卫(6/guards)
    • 拦截器(6/interceptors)
    • 自定义装饰器(6/customdecorators)
  • 基本原理(6/fundamentals)

  • 技术(6/techniques)

  • GraphQL(6/graphql)

  • WEBSOCKETS(6/websockets)

  • 微服务(6/microservices)

  • 应用上下文(6/applicationcontext)

  • 秘籍 (6/recipes)

  • CLI (6/cli)【已认领】

  • FAQ (6/faq)

  • 迁移指南(6/migrationguide)

  • 谁在使用 Nest (6/discover)

回复:

比如
我要认领翻译「基础-依赖注入」

nest程序Resolver中可以使用内存缓存,但无法使用redis缓存

Discussed in #373

Originally posted by wenjian337 March 31, 2023
环境:node:v18.14.2
npm:9.5.0
nestjs:9.2.0
"cache-manager": "^5.2.0",
"cache-manager-redis-store": "^2.0.0",
在app.module.ts中初始化缓存
import * as redisStore from 'cache-manager-redis-store';
import type { RedisClientOptions } from 'redis';
//缓存 CacheModule.register<RedisClientOptions>({ store: redisStore, host: process.env.REDIS_HOST || 'localhost', port: process.env.REDIS_PORT || 6379, auth_pass: process.env.REDIS_PWD || '', db: 14, isGlobal: true, ttl: 60, }),
这里还不能使用cache-manager-redis-store@3,会报错。

在service中注入@Inject(CACHE_MANAGER) private cacheManager: Cache
然后可以缓存成功
但是在Resolver中注入@Inject(CACHE_MANAGER) public cacheManager: Cache,
缓存使用的确实内存缓存。
有没有大佬遇到过这样的情况

nestjs production & deployement

hi

  1. how to create a build production

  2. how to deploy nestjs in server (cloud)

  3. add a support for build production for nestjs application

6.0 二次校对认领

3- [x] 介绍(6/introduction)

  • 概述

    • 第一步 (6/firststeps)
    • 控制器 (6/controllers)
    • 提供者(6/providers)
    • 模块(6/modules)
    • 中间件(6/middlewares)
    • 异常过滤器(6/e ceptionfilters)
    • 管道(6/pipes)
    • 守卫(6/guards)
    • 拦截器(6/interceptors)
    • 自定义装饰器(6/customdecorators)
  • 基本原理(6/fundamentals)

  • 技术(6/techniques)

  • GraphQL(6/graphql)

  • WEBSOCKETS(6/websockets)

  • 微服务(6/microservices)

  • 应用上下文(6/applicationconte t)

  • 秘籍 (6/recipes)

  • CLI (6/cli)【已认领】

  • FAQ (6/faq)

  • 迁移指南(6/migrationguide)

  • 谁在使用 Nest (6/discover)

回复:

比如
我要认领翻译「基础-依赖注入」

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

npm
package.json
  • docsify-cli 4.4.4

  • Check this box to trigger a request for Renovate to run again on this repository

5.6翻译校对 认领 (一校)

第一步
控制器
提供者
模块
中间件

异常过滤器
管道

守卫

拦截器

技术

WEBSOCKETS

GraphQL
执行上下文
CLI
FAQ

自定义装饰器
基础

微服务

秘籍

注意: 由于官方文档做了部分更新,一校主要目的是校对官方文档变化的部分。

请回复相应模块名称认领;

gitbook不成功

能中文文档官网上直接给个pdf链接吗?gitbook就是转换不成功
gitbook FileNotFoundError: No "README" file (or is ignored)

Docs link invalid.

幸运的是,由于 `ValidationPipe``ParseIntPipe` 是内置管道,因此您不必自己构建这些管道(请记住, `ValidationPipe` 需要同时安装 `class-validator``class-transformer` 包)。与本章中构建ValidationPipe的示例相比,该内置的功能提供了更多的选项,为了说明管道的基本原理,该示例一直保持基本状态。您可以在[此处](/8/techniques/validation)找到完整的详细信息以及许多示例。

[此处](/8/techniques/validation) 404 not found.

plz fix it. thanks!

5.x 翻译认领

当前需要翻译的文档

技术 对应官方文档: techniques
[Mongo]
[验证]
[日志]
[安全]
[压缩]

回复格式:

我要认领翻译「基础-依赖注入」

对于旧版(4.6 - 6.x)的 Nest 文档的维护

旧版的 Nest 文档还需要维护或者保留吗?官方文档站并没有对旧文档版本做区分和保留,本仓库作为被官方认证的中文翻译文档应该向其看齐。再者,在维护文档过程中发现一个痛点是对于文档位置的链接,比如目前版本 7 中的不少对于知识板块的链接还是链接到版本 6 下的内容,而同时版本 7 下明明有相同内容,这种情况可能是在推出新版本时维护人员直接将旧版对应部分复制到新版,并对一些文字内容做修改,却忽视了同时应修改链接所导致的(or,当时还没有新版的对应部分)。

所以我认为对于旧版文档不应再保留了,或者至少旧版和新版不应共存在一个分支里。

此为一个讨论,希望各抒己见。如果赞同,我在下一个 pr 里将只保留最新版的文档

ngconf 开发者大会内部报名【翻译人员免费票】

image

在 2019 ngChina 开发者大会中,我们为一些贵宾预留了免费的赠票(包含两天的全部讲座)。

大会详情参见: 官网

请填写信息,我们稍后将为您发送贵宾参会确认函

要求:docs.nestjs.cn 仓库提交行数超过100 【注:内部票数量有限,将优先选取提交行数较高的】


姓名 (将打印在贵宾卡上)
邮箱 :
手机 :
公司-职位 :
产品/开源项目:
github 账号:

一个关于文档的疑问

为什么中文文档的网站形式和官网不太一样,印象里大多数中文文档和原文档的样式都大体一致。这里我有点不解。我明白文档最终的是内容,只是好奇。

申请认领Overview - pipes章节的翻译

#303 也有提到,管道章节的翻译与现有翻译存在出入。个人希望凭借自己微薄的力量为中文文档做一点贡献。由于水平有限,译完出现纰漏在所难免。

nest.js 8 中文文档认领

  • 介绍(8/introduction)

  • 概述

    • 第一步 (8/firststeps)
    • 控制器 (8/controllers)
    • 提供者(8/providers)
    • 模块(8/modules)
    • 中间件(8/middlewares)
    • 异常过滤器(8/eceptionfilters)
    • 管道(8/pipes)
    • 守卫(8/guards)
    • 拦截器(8/interceptors)
    • 自定义装饰器(8/customdecorators) 【待提交】
  • 基本原理(8/fundamentals)

  • 技术(8/techniques)

  • GraphQL(8/graphql)

  • WEBSOCKETS(8/websockets)

  • 微服务(8/microservices) 【待提交】

  • 秘籍 (8/recipes)

  • 独立应用(8/standalone-applications)

  • CLI (8/cli)

  • FAQ (8/faq)

  • 迁移指南(8/migrationguide)

  • 谁在使用 Nest (8/discover)

回复:

比如
我要认领翻译「基础-依赖注入」

nestjs 10 中文文档认领

  • 介绍(10/introduction)

  • 概述

    • 第一步 (10/firststeps)
    • 控制器 (10/controllers)
    • 提供者(10/providers)
    • 模块(10/modules)
    • 中间件(10/middlewares)
    • 异常过滤器(10/eceptionfilters)
    • 管道(10/pipes)
    • 守卫(10/guards)
    • 拦截器(10/interceptors)
    • 自定义装饰器(10/customdecorators) 【待提交】
  • 基本原理(10/fundamentals)

  • 技术(10/techniques)

  • GraphQL(10/graphql)

  • WEBSOCKETS(10/websockets)

  • 微服务(10/microservices) 【待提交】

  • 秘籍 (10/recipes)

  • 独立应用(10/standalone-applications)

  • CLI (10/cli)

  • FAQ (10/faq)

  • 迁移指南(10/migrationguide)

  • 谁在使用 Nest (10/discover)

回复:

比如:
我要认领翻译「基础-依赖注入」

署名规范:

满足以下条件之一即可:

  1. 文档整体翻译
  2. 提交修改累积超过3处
    参考 9.x 文档进行署名(头像请勿超过 80X80 )。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.