• 5 months ago
express-validator is a cool library that makes it easy the validation and sanitization of post data in Express. It is very simple to use and provides advanced features for validation.

This video shows how I'm passing post parameters from a Next.js application to Next.js.

I'm using this middleware "app.use(express.json())" in server.ts and it is necessary for json data read.

Recommended