Best Way to Validate Forms [Node JS + Express + EJS]?

This page summarizes the projects mentioned and recommended in the original post on /r/node

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.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • zod

    TypeScript-first schema validation with static type inference

  • I'm a huge fan of zod with react-hook-form using their custom resolver API.

  • node_pg_reference_app

    Node.js reference CRUD application using node-postgres and PostgresSQL

  • The basic idea is to create json schemas like this and create a central middleware to validate the request body in the routes.

  • 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
  • react-hook-form

    📋 React Hooks for form state management and validation (Web + React Native)

  • I'm a huge fan of zod with react-hook-form using their custom resolver API.

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

  • [React JS] I don't know a better way to handle Forms in React

    2 projects | dev.to | 6 Feb 2024
  • 3 great Typescript libraries to speed up your full stack development

    3 projects | dev.to | 13 Oct 2023
  • Streamlining Form Validation in Your Javascript Stack

    4 projects | dev.to | 4 Jul 2023
  • Using Zod with React hook form using typescript

    2 projects | dev.to | 16 Mar 2023
  • Don't use useEffect in forms

    2 projects | dev.to | 21 Dec 2022