Skip to content

In this code I will show you how to implement a validation using express-validation for the server in node js and jquery-validation for the client.

Notifications You must be signed in to change notification settings

JoanVasquez/express-jquery-validation

Repository files navigation

This is a simple Node Js project with Express Validation and JQuery Validation

In this code I will show you how to implement validation in Client and Server side using express-validator and JQuery Validation. It is an small project that demonstrate the validation on a form. If this code helped you to solve your problem, please help with a coffee. Thanks.

paypal

Instruction

Remember to make npm i or npm install in the root of the app to install the modules.

Structure

  • index.js -> Our app server.
  • public -> Static files (CSS, JS, IMGS).
    • js
      • validation.js -> Our script to validate with JQUERY VALIDATION
  • app -> routes and views
    • routes
      • home.js
    • views
      • home.html

Dependencies of this project

"dependencies": {
    "body-parser": "^1.18.3",
    "express": "^4.16.3",
    "express-session": "^1.15.6",
    "express-validator": "^5.2.0",
    "hbs": "^4.0.1"
  }

Validations resources

Express Validator!

JQuery Validation!

Demonstrations

Form

Validation Validation

About

In this code I will show you how to implement a validation using express-validation for the server in node js and jquery-validation for the client.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published