FireWall guard with black or white list for NestJs.
Yarn
yarn add nestjs-fireNPM
npm install nestjs-fire --saveimport { Controller, Get, UseGuards } from '@nestjs/common'
import { IPs, WhiteListGuard, BlackListGuard } from 'nestjs-fire'
@IPs('127.0.0.1')
OR
@Hosts('www.xxx.com')
@UseGuards(BlackListGuard)
@Controller('')
export class TestController {
    @IPs('127.0.0.1')
    OR
    @Hosts('www.xxx.com')
    @UseGuards(BlackListGuard)
    @Get()
    root() {
        return xxx
    }
}That's it!