Skip to content
/ yup Public

Practise how to use `yup` for handle server side validations

Notifications You must be signed in to change notification settings

Sunny-unik/yup

Repository files navigation

yup

Boilerplate for add validations using yup package on node.js app with express

Why yup

Using yup for JSON schema validation because it is one of most high rated JSON validators.

Setup Environment Variables

  • Create a .env file.
  • Copy ENVs from .env.example file
  • Paste ENVs in .env file
  • Replace your App_Password from your actual App_Password in .env file

Steps for development

Install dependencies by running command

npm i

Start development server

npm run watch

Start production server

npm start

About

Practise how to use `yup` for handle server side validations

Topics

Resources

Stars

Watchers

Forks