Client Side create fetch add second parameter as an object provide method: 'POST' add headers :{'content-type':'application/json'} add body: JSON.Stringify(user) Read Create a cursor = userCollection.find() const result = await cursor.toArray()