sending data to the server doing joi validation . using bcryptjs for hashing the password . abbreviated database to db using mongodb as our database npm install monk body parser - is a middleware which parse the incoming request.