Skip to content

Repository created to demonstrate how to create validations using decorators in NestJS. Decorators-based validations, allowing you to implement all the validations in your preferred way and in the most performance-efficient manner possible. All this, without using any external libraries.

License

Notifications You must be signed in to change notification settings

gabriel-logan/custom-class-validator

Repository files navigation

custom-class-validator

Repository created to demonstrate how to create validations using decorators in NestJS. Decorators-based validations, allowing you to implement all the validations in your preferred way and in the most performance-efficient manner possible. All this, without using any external libraries.

Installation

yarn install

Configuration

Create a .env file in the root of the project and add the following environment variables:

NODE_ENV="development"
PORT=3000

Running the app

Development

yarn dev

Production

yarn build && yarn start

LEARN.md

This file contains the step-by-step to create the custom class validator.

License

This project is MIT licensed

About

Repository created to demonstrate how to create validations using decorators in NestJS. Decorators-based validations, allowing you to implement all the validations in your preferred way and in the most performance-efficient manner possible. All this, without using any external libraries.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published