Good article by the way BodyParser is deprecated you don't need to install the package anymore because that functionality is built into Express.
So use the code below instead.
app.use(express.urlencoded({extended: true}));
app.use(express.json()) // To parse the incoming requests with JSON payloads