Hi Nic - Thanks a lot for this great tutorial. It works like charm- but - i had to IP- whitelist my whole mongoDB cluster for the whole internet (0.0.0.0/0) do have access for netlify. do you know another way to gain access from netlify or to restrict this configuration for a particular user or a particular db or collection? Thanks!
It depends. The driver will give you a richer experience when working with MongoDB, but if your use-case just needs some simple interactions, the App Services way is acceptable as well.
Not working for Svelte locally. Keeps hanging "waiting for framework port 5173" even with [dev] targetPort =5173 in netlify.toml file. Does that for svelte npm run dev and npm run build options. Works with vite, says server running at 8888 but not executing function call.
Hi! I'm not sure what your connection error is, but have you added your IP to the allow list? By default, all connections are blocked, so you either have to use 0.0.0.0 (entire internet) or get an IP range from Netlify.
✅ Sign-up for a free cluster at: mdb.link/free-T0QS64-laHE
✅ Get help on our Community Forums: mdb.link/community-T0QS64-laHE
Hi Nic - Thanks a lot for this great tutorial. It works like charm- but - i had to IP- whitelist my whole mongoDB cluster for the whole internet (0.0.0.0/0) do have access for netlify. do you know another way to gain access from netlify or to restrict this configuration for a particular user or a particular db or collection? Thanks!
I'm interested in this as well. Any solutions? What about using the Certificate, how can it be done on Netlify's side?
@@bogdanudrescu I couldn't find any. Allowing access from everywhere looks like the best solution at the moment.
Is the serverless/mongoClient approach typically preferred over fetching directly from an App Services endpoint/function?
It depends. The driver will give you a richer experience when working with MongoDB, but if your use-case just needs some simple interactions, the App Services way is acceptable as well.
Not working for Svelte locally. Keeps hanging "waiting for framework port 5173" even with [dev] targetPort =5173 in netlify.toml file. Does that for svelte npm run dev and npm run build options. Works with vite, says server running at 8888 but not executing function call.
Amazing!
RefrenceError: require is not defined
Please reply
What will be the difference if i use mongoose?
id like to know too
not working connecting to mongodb is not working
Hi! I'm not sure what your connection error is, but have you added your IP to the allow list? By default, all connections are blocked, so you either have to use 0.0.0.0 (entire internet) or get an IP range from Netlify.
😊😊
very unpractical
Indian