This is the app.js. Here the api end point is http://localhost:3001/api/male/users/signup. Here I use mongoose, express to design the backend.
const express =