Developing a Web Application with Netlify Serverless Functions and MongoDB

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 16

  • @MongoDB
    @MongoDB  2 года назад +1

    ✅ Sign-up for a free cluster at: mdb.link/free-T0QS64-laHE
    ✅ Get help on our Community Forums: mdb.link/community-T0QS64-laHE

  • @vitocorleone5504
    @vitocorleone5504 2 года назад +6

    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!

    • @bogdanudrescu
      @bogdanudrescu Год назад +1

      I'm interested in this as well. Any solutions? What about using the Certificate, how can it be done on Netlify's side?

    • @lorisp186
      @lorisp186 Год назад +1

      @@bogdanudrescu I couldn't find any. Allowing access from everywhere looks like the best solution at the moment.

  • @bobbymray
    @bobbymray 2 года назад +2

    Is the serverless/mongoClient approach typically preferred over fetching directly from an App Services endpoint/function?

    • @poketrainernic
      @poketrainernic 2 года назад

      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.

  • @pickavana8056
    @pickavana8056 2 года назад

    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.

  • @Elias-xp3bs
    @Elias-xp3bs Год назад

    Amazing!

  • @redcodes2354
    @redcodes2354 2 года назад

    RefrenceError: require is not defined
    Please reply

  • @loudsven4056
    @loudsven4056 Год назад

    What will be the difference if i use mongoose?

  • @tee-hee9553
    @tee-hee9553 Месяц назад

    not working connecting to mongodb is not working

    • @MongoDB
      @MongoDB  Месяц назад

      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.

  • @vutiendat3601
    @vutiendat3601 Год назад

    😊😊

  • @piotrjasiulewicz408
    @piotrjasiulewicz408 9 месяцев назад

    very unpractical

  • @vinodhansrajsathwara
    @vinodhansrajsathwara 2 года назад +1

    Indian