nestjs

A collection of badass modules and utilities to help you level up your NestJS applications 🚀 (by golevelup)

Nestjs Alternatives

Similar projects and alternatives to nestjs

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better nestjs alternative or higher similarity.

Suggest an alternative to nestjs

Reviews and mentions

Posts with mentions or reviews of nestjs. We have used some of these posts to build our list of alternatives and similar projects.
  • Providing Providers to Dynamic NestJS Modules
    1 project | dev.to | 27 Jul 2021
    For this, I'm going to be using a package called @golevelup/nestjs-modules to help with the creation of the dynamic module. Instead of having to set up the entire forRoot and forRootAsync methods, we can extend a mixin and let the package take care of the setup for us. everything in this article will work without the package, I just like using it for the sake of simplicity. So, lets dive into setting up our AuthModule to be a dynamic module. First we need to create our injection token for the options
  • How to parse the raw body of a request in a NestJS controller
    1 project | dev.to | 19 Jun 2021
    import { Injectable, NestMiddleware } from '@nestjs/common' import { json } from 'body-parser' /** * Copied this middleware to parse the raw response into a param to use later * from https://github.com/golevelup/nestjs/blob/master/packages/webhooks/src/webhooks.middleware.ts */ @Injectable() export class RawBodyMiddleware implements NestMiddleware { public constructor() {} public use(req: Request, res: Response, next: () => any): any { json({ verify: (req: any, res, buffer) => { if (Buffer.isBuffer(buffer)) { const rawBody = Buffer.from(buffer) req['parsedRawBody'] = rawBody } return true }, })(req, res as any, next) } }
  • What are some good practises for mocking providers in tests
    1 project | reddit.com/r/Nestjs_framework | 28 Apr 2021
    The easiest thing to do is just mock all of a services methods with jest mock functions. I like to do that with this library: https://github.com/golevelup/nestjs/tree/master/packages/testing

Stats

Basic nestjs repo stats
3
780
7.1
10 days ago

golevelup/nestjs is an open source project licensed under MIT License which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
Find remote TypeScript jobs at our new job board 99remotejobs.com. There are 10 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.