Look at the code below. We define a user schema by mongodb. So this shema we have email and password. When user signs up, the
Let’s say we have an authentication service simply like below. This service is listening on port 3000 and having a route for signing up user