use joi with express code example Example: joi in node and express npm init -y npm install --save express body-parser morgan joi lodash