app.use(express.json());
app.use(express.urlencoded());
added to app.js