MongoDB authentication

Functionality

  • User registers on /register API endpoint
  • If already registered application should show an error message
  • If not registered, write to MongoDB
  • After logging in using password and email app is checking DB for record
  • If found display Hello -name-
  • If not found show an error message

Status

Currently there is a registration implemented, but not the login