Ways to validate environment configuration in a forFeature Config in NestJs

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • dotenv

    Loads environment variables from .env for nodejs projects.

  • Thank God that NestJS provides a ConfigModule that exposes a ConfigService which loads an .env file. Internally, this uses dotenv to load the variables from the file into process.env.

  • joi

    Discontinued The most powerful data validation library for JS [Moved to: https://github.com/hapijs/joi]

  • Using Joi, a data validator for JavaScript.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • TypeScript

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

  • TypeScript - Is JavaScript with syntax for types.

  • Nest

    A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀

  • NestJS - A progressive Node.js framework for building efficient, reliable and scalable server-side applications.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts