Create a Data API in 10 Minutes with MongoDB Stitch

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024
  • Michael Lynn of MongoDB’s Developer Advocacy team creates a data enable API exposing MongoDB Data leveraging MongoDB Stitch in about 8 minutes. Source for App: github.com/mrl...

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

  • @luisflores616
    @luisflores616 4 года назад +2

    Thank you so very much for sharing this valuable info! Great tutorial

  • @yourteacher4353
    @yourteacher4353 5 лет назад +5

    Thanks a ton for the great tutorial, Michael. I've got a question: can I pass parameters to the webhook function with my GET request in order to retrieve a certain document from the API or do I have to write a separate function for each API endpoint?

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

      Yes - absolutely. Get requests populate the payload sent to the API. You can leverage function variables which will be populated with the contents of the data you send to the API from your GET/POST request.

  • @MisterNorthernCanuck
    @MisterNorthernCanuck 4 года назад +2

    Life saver

  • @TrockeyTrockey
    @TrockeyTrockey 5 лет назад

    Very useful, thank you!

  • @richardmerrigan5514
    @richardmerrigan5514 5 лет назад

    Thanks for the info this service is awesome!!

  • @randyxarrigeorge3487
    @randyxarrigeorge3487 4 года назад +1

    Is a post request the same paradigm only with an "insertOne" command or is there more it?

    • @nisargbijutkar4063
      @nisargbijutkar4063 4 года назад

      Apparently it gets stored in BSON format, any way to avoid it?

  • @antd1857
    @antd1857 5 лет назад

    Thank you!
    Using Stitch and MongoDB Atlas could you please show us
    1. How to add a small image as binary to a document in a collection.
    2. For larger files(image, audio, video and any type txt,pdf,doc) using
    GridFS.
    There are tutorials on adding to S3 but wanted to know other methods as mentioned.

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

    Question: How can we give a parameter here that only bring results which has the first name as "X" ? not hard code it on function but getting the value from the parameter

  • @brandonward2007
    @brandonward2007 5 лет назад +2

    i keep getting
    -bash: mongoimport: command not found
    when i try to import. i dont understand why

    • @mongodbmichael
      @mongodbmichael  5 лет назад

      You will need to download mongoimport - which is part of the mongodb package and install that. Instructions for that are here: docs.mongodb.com/manual/installation/

  • @nitinsrinivas2856
    @nitinsrinivas2856 5 лет назад +1

    Hi Michael, Is it possible to connect the private server with Stitch Apps to fetch or update the data?

    • @mongodbmichael
      @mongodbmichael  5 лет назад

      Sure - As long as the private server has internet access. There's no on-premise version of Stitch (yet).

  • @bhaveshsharma6688
    @bhaveshsharma6688 4 года назад

    how to make api request with parameters like I want data of a particular oid just and oid is passed as a parameter to http get request.

  • @FordExplorer-rm6ew
    @FordExplorer-rm6ew 4 года назад

    Thank you fren

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

    hello
    i am working with mit app inventor so i want to CURD in MIT app inventor i need API Key for the work so pleas help me thanks

  • @JuanMartinez-sy3rw
    @JuanMartinez-sy3rw 3 года назад

    How can i remove the $numberint headers being added in the output dataset?

  • @ashutoshpanda4336
    @ashutoshpanda4336 5 лет назад +1

    Which software do you use to record video and audio????

    • @mongodbmichael
      @mongodbmichael  5 лет назад

      I use Screenflow for all my screencasts. I have a Yeti Microphone and a Logitech webcam.

  • @hetalishah4435
    @hetalishah4435 5 лет назад +1

    Good resource.
    I would request you if you can create a demo for post method.

    • @mongodbmichael
      @mongodbmichael  5 лет назад +1

      I will be posting this week - Stay tuned.

    • @mongodbmichael
      @mongodbmichael  5 лет назад

      Here's another example - this one leverages a POST method: blog.mlynn.org/build-a-slack-app-in-10-minutes-or-less-with-mongodb-stitch/

  • @kianitify
    @kianitify 5 лет назад

    thnks that was useful\

  • @N3XTOR85
    @N3XTOR85 5 лет назад

    Hi Michael, How to add query parameters to this GET external service? thank you

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

    Can you customize the domain name?

  • @zaydanemokni6118
    @zaydanemokni6118 5 лет назад

    i can't import my document , " Failed: error connecting to db server: no reachable servers"

    • @mongodbmichael
      @mongodbmichael  5 лет назад

      Zaydane, the most common cause for this is skipping the IP Whitelist step. Remember that you must add an IP Whitelist entry for your local IP address. This will ensure that you have connectivity to the db. Good luck - let me know how you make out.

  • @elixir7825
    @elixir7825 5 лет назад

    Hi Michael, good tutorial. How to do Stitch Apps in real time? you have seen CRUD examples?, I'm looking for an alternative to Firebase

    • @mongodbmichael
      @mongodbmichael  5 лет назад

      Hey - I'm recording some material now that might be helpful... stay tuned.

    • @elixir7825
      @elixir7825 5 лет назад

      @@mongodbmichael Thanks

    • @mongodbmichael
      @mongodbmichael  5 лет назад

      Yes - there are plenty of examples in the MongoDB Docs over at docs.mongodb.com/stitch - good luck!

  • @sahebtarafdar6041
    @sahebtarafdar6041 4 года назад

    10 Minit Data Khatom