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...
Thank you so very much for sharing this valuable info! Great tutorial
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?
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.
Life saver
Very useful, thank you!
You're very welcome!
Thanks for the info this service is awesome!!
Richard - thanks for the comment!
Is a post request the same paradigm only with an "insertOne" command or is there more it?
Apparently it gets stored in BSON format, any way to avoid it?
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.
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
i keep getting
-bash: mongoimport: command not found
when i try to import. i dont understand why
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/
Hi Michael, Is it possible to connect the private server with Stitch Apps to fetch or update the data?
Sure - As long as the private server has internet access. There's no on-premise version of Stitch (yet).
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.
Thank you fren
Found a Ford Explorer
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
How can i remove the $numberint headers being added in the output dataset?
Which software do you use to record video and audio????
I use Screenflow for all my screencasts. I have a Yeti Microphone and a Logitech webcam.
Good resource.
I would request you if you can create a demo for post method.
I will be posting this week - Stay tuned.
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/
thnks that was useful\
Hi Michael, How to add query parameters to this GET external service? thank you
Can you customize the domain name?
i can't import my document , " Failed: error connecting to db server: no reachable servers"
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.
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
Hey - I'm recording some material now that might be helpful... stay tuned.
@@mongodbmichael Thanks
Yes - there are plenty of examples in the MongoDB Docs over at docs.mongodb.com/stitch - good luck!
10 Minit Data Khatom