8000 GitHub - Sunny-unik/yup: Practise how to use `yup` for handle server side validations
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

0