Nest

Nest (NestJS) is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with and fully supports TypeScript (yet still enables developers to code in pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming).
Nest provides an out-of-the-box application architecture which allows developers and teams to create highly testable, scalable, loosely coupled, and easily maintainable applications.
Here are 1,396 public repositories matching this topic...
-
Updated
Mar 9, 2020 - JavaScript
I have this model
class User {
name: string;
friends: User[];
}
And I have created a crud controller to manage and get user without friends property.
To get friends of a user, I have added an "adding route" :
@Get(':id/friends')
@UseInterceptors(CrudRequestInterceptor)
async getFriends(@ParsedRequest() req: CrudRequest) {
return this.
Add more unit tests
Many of the controllers & services do not have tests written. These would be helpful to include as examples of how to handle testing.
-
Updated
Jun 10, 2020 - TypeScript
npm install error : 依赖的包(ssh://github.com/surmon-china/mongoose-paginate.git)不存在
i@mingbai:~/node/nodepress$ npm install
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/surmon-china/mongoose-paginate.git
npm ERR!
npm ERR! Permission denied (publickey).
npm ERR! fatal: 无法读取远程仓库。
npm ERR!
npm ERR! 请确认您有正确的访问权限并且仓库存在。
npm ERR!
npm ERR! ex
I'm submitting a...
[ ] Regression
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
When SwaggerModule is set up with prefix `api-
-
Updated
Jun 6, 2020 - TypeScript
Issue type:
- question
- bug report
- feature request
- documentation issue
nestjs-config version
@nestjs/common+core or other package versions
- @nestjs/common:
- @nestjs/core:
Excepted behavior
I want to be able to use strict typing within my service. Using `config.get('something'
In Access Control docs it says
Note that own requires you to also check for the actual possession
and here it shows how to do it, but I am not sure how to check actual possession with nest-access-control.
So, please add more examples, at least for the roles and actions you have mentioned in app.roles.ts, I wou
Q: Tutorial
Could you make a tutorial out of the content of this repo? How to assemble each part step by step.
What do the following startTime
and endTime
configurations do, there are no associated API docs?
@Cron('0 0 2 * *', {
startTime: new Date(),
endTime: new Date(new Date().getTime() + 24 * 60 * 60 * 1000),
})
We can already set the scheduled interval with cron.
-
Updated
Jun 2, 2020 - TypeScript
-
Updated
Apr 11, 2020 - TypeScript
I find the project really useful, the stack is very good for making scalable projects easily. It took some time however to get the hang of it since I'm not very experienced with nest. I think it will help other users start their projects right away with some sort of documentation similar to https://github.com/sahat/hackathon-starter
-
Updated
Jun 6, 2020 - TypeScript
-
Updated
Jun 10, 2020 - TypeScript
Created by NestJS
Released May 14, 2017
Latest release 18 days ago
- Repository
- nestjs/nest
- Website
- nestjs.com
Looks closely related to #779
I'm submitting a...
Current behavior
Middleware is being called for every endpoint a request route could potentially match.