Serverless API with MongoDB

Поделиться
HTML-код
  • Опубликовано: 13 июл 2020
  • In this Video we take the serverless API we created on the previous video and modify it to connect to a Database.
    ---
    Support my channel:
    Donate via Xsplit: www.xsplit.com/u/jamesperkins
    --
    Follow me on:
    📃 Website/Blog: jamesperkins.io
    👉 Twitter: / james_r_perkins
    👉 Linkedin: / james-perkins-268992a4
    👉 Github: github.com/perkinsjr
  • НаукаНаука

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

  • @cod3a
    @cod3a 3 года назад +1

    Thanks dude, great info

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

    Thanks a lot!... Exactly what I needed and well explained

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

    Thank you !! this is so amazing.

  • @nishanthdipali6838
    @nishanthdipali6838 3 года назад

    Thanks dude amazing video btw, helped me a lot. I was wondering how to make a db connection in vercel, got it now.

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

    awesome

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

    Good tutorial! I just wish you'd covered how to set up and connect to our own MongoDB database, so junior devs can complete the tutorial. This can be quite fraught.

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

    so u connect to the database everytime a request comes ?

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

    Any idea why I get a null database?

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

    hi James, I wonder if we have many api then every api has to connect to db then it will be very time consuming, is there any way we can connect to db only once and next time will check if not yet connected, just connected

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

      leaving the connection open will cause a timeout on the lambda function, plus he does that at the beginning with the cache DB variable

  • @EduardoOviedoBlanco
    @EduardoOviedoBlanco 3 года назад +1

    Thanks for the video. The font size is a little too small.

    • @james-perkins
      @james-perkins  3 года назад

      You welcome!, Thanks for the feedback, all new videos use a larger font size to make it easy to read.

    • @TATENDA132
      @TATENDA132 3 года назад

      You can try downloading a high res vid

  • @lua.alvaro
    @lua.alvaro 3 года назад

    Amazing!!! i'm trying to create a similar project, but with serverless-mysql or just mysql connection.
    But haven't anywhere tutorial at youtube how can i do this. It's possible that you make a version of this video using serverless-mysql connection?
    Congrats for your channel, +1 subscription

    • @lua.alvaro
      @lua.alvaro 3 года назад

      sorry my english, brazilian guy here

    • @james-perkins
      @james-perkins  3 года назад +1

      I will add It to my list of To-dos !

    • @lua.alvaro
      @lua.alvaro 3 года назад

      @@james-perkins thank you