Relative Content

Tag Archive for mongodbreact-nativeaxiosexpo

MongoDB not saving data sent from Axios

I’m currently creating a Todo-list app with React Native with MongoDB where I’m running the app on my Expo Go app on my iPhone. I’m trying to register the user on the registration page whereby the data is then sent via Axios and received by my backend but MongoDB does not receieve the data and hence is unable to store it in the database. I have tested both the registering and the connection to mongoDB, the app returns me the alert whereby the user is successfully registered and my console tells me that I’m successfully connected to mongoDB.