Donewithit React Native app - Unable to register or login

Hi guys,

Please, I’m having problem with my login and register screens after adjusting the backend code to use mongodb as my database. I have successfully posted listings to mongodb and 3ven saved images to s3. It’s only the login and register that has not worked well. The error messages I got are from the client - the registerScreen and loginScreen.

If anyone would like to see my code on GitHub. The two repos are:

  1. DoneWithClient - GitHub - yemola/DoneWithClient: A market place react native app
  2. DoneWithBackend - GitHub - yemola/DoneWithBackend: Backend for DoneWith - a marketplace for selling things you no longer need.
    I’ll appreciate your insight