TypeError: Cannot read properties of undefined (reading ‘collection’) (mongodb connection)
am trying to connect the mongodb database and i get the error as shown below
Syncfusion sparkline chart is disappearing after loading or entry soo quickly
After importing all syncfusion needs successfuly to display charts i find out a bug that the chart is quickly disappearing , so after reloading the page the chart displayed for a short ammount of time and then disappear again
How to store cart details stored in the form of array in MongodB database from a React project using Express
Some products details like name, price, discount, total price, and so on are stored in an array in a file Data.js and we get the details from this file by importing it and using map function in the products div in a React Project. When user click on add to cart button, products get added to the cart with all the details like shown in the array. When user click on Order button then how all the details of the cart should add in the MongoDB database.
Minified file react run build throwing an error
I have been developing an website for phonebooks. I have created its front-end first then minified this using “npm run build” script. After making the front-end, the backend is created from scratch using expressjs, nodejs and mongoDB as its database and this is already deployed using render.com opensource.