Build a Totally Serverless REST API with MongoDB Atlas

  Рет қаралды 21,011

MongoDB

MongoDB

Күн бұрын

✅ Sign-up for a free cluster at: mdb.link/free-FkD_tf8vkfg
✅ Get help on our Community Forums: mdb.link/community-FkD_tf8vkfg
Want to go totally serverless in your application development? I’m talking serverless database and serverless application for maximum scalability.
In this tutorial, Nic Raboy demonstrates how to launch a serverless database instance of MongoDB, create a serverless function with JavaScript, and make everything accessible with HTTPS endpoints.
Connect with Nic on Twitter: / nraboy
⏱️ Timestamps ⏱️
00:00:00 - Intro
00:00:43 - Create a MongoDB Serverless Instance
00:02:19 - Create a Serverless Application with Atlas App Services
00:03:36 - Create HTTPS Endpoints
00:06:38 - Adding Serverless Function Logic to an HTTPS Endpoint
00:10:29 - Testing your HTTPS Endpoint and Function
00:12:03 - More HTTPS Endpoints and Functions
00:15:27 - A Review of the Development Process
00:16:30 - A Quick Note on MongoDB Atlas Serverless Security
00:18:47 - Outro
-
Subscribe to MongoDB ➡️ bit.ly/3bpg1Z1
#mongodb #database #serverless

Пікірлер: 40
@MongoDB
@MongoDB Жыл бұрын
✅ Sign-up for a free cluster at: mdb.link/free-FkD_tf8vkfg ✅ Get help on our Community Forums: mdb.link/community-FkD_tf8vkfg
@DeffQ
@DeffQ 7 ай бұрын
Nice and clear tutorial. Exactly what I was searching for. Thanks!
@MongoDB
@MongoDB 7 ай бұрын
You're welcome!
@tushardeshmukh7740
@tushardeshmukh7740 Жыл бұрын
Nicely explained. more and more developer will use Mongodb.
@Pareshbpatel
@Pareshbpatel Жыл бұрын
An excellent introduction to building a Serverless REST API with MongoDB Atlas. Thanks, Nic {2022-11-15}
@mongodb_nraboy
@mongodb_nraboy Жыл бұрын
No problem!
@ElTebe
@ElTebe 2 ай бұрын
Its freakin awesome, thanks!
@joeloush6759
@joeloush6759 6 ай бұрын
Thanks for this video it really helps me
@boutiflet
@boutiflet Жыл бұрын
Oh my ! It's perfect for my stupid project! 😍
@fabiotrevezane
@fabiotrevezane 7 ай бұрын
Parabens primeiro conteudo que me ajudou realmente utilizar a api do mongo db
@unrealdoc8191
@unrealdoc8191 6 ай бұрын
Gr8 guide, easy to understand. How to get a specific person from a url like "...person/1" ? What would the route and function look like ?
@FarshadMahmoudifar
@FarshadMahmoudifar Жыл бұрын
thank you for the video. where can I find the other endpoints and functions like put for update and get one object?
@keremoz9531
@keremoz9531 9 ай бұрын
Thanks a lot for the vid! i joined a project which this serverless structure is used. İs there a way to run and test is locally? Or do i have to deploy in every change and test it with postman ?
@jake221
@jake221 Жыл бұрын
I am new to all of this, I wanted to ask how do you update or delete a specific item in the collection? Thanks
@NoelHwande
@NoelHwande Жыл бұрын
Thanks very much Nic. I’ve gone serverless with App Services on my current project and have been testing the limits of what I can do. So far, so good. One thing that I’m trying to do now is to use a function to upload media to an AWS S3 bucket. I know there was third party integrations like that back when it was Stitch but they are no longer available. Is there plans to bring that back or is there a way to achieve this with a single function?
@AshwinChandarR
@AshwinChandarR Жыл бұрын
have you tried for uploading using pre-signed URL?
@MA-br6jf
@MA-br6jf 9 ай бұрын
Thxxx :)
@timmanning9
@timmanning9 Жыл бұрын
Does this Mongo UI have a place to use Docker Image for deployment?
@mykalimba
@mykalimba Жыл бұрын
As a beginner/hobbyist web developer, I find the pay-as-you-go benefit that serverless offers to be a strong argument to switch from running dedicated Atlas clusters. BUT... I -- and many other developers, I'm sure -- don't want to have to manually enter code into a web page portal. That's a nonstarter. Is there some sort of API + process that allows me to deploy my serverless code from git?
@mongodb_nraboy
@mongodb_nraboy Жыл бұрын
Yes, you can use the CLI and make it part of your pipeline. I only did the web version to get everyone started :-)
@wil9861
@wil9861 2 ай бұрын
What about caching , configuring domain names e.t.c Are there examples of projects using Atlas serverless, configuring environments/ stages , IaC e.t.c
@poornatejakonatham03
@poornatejakonatham03 7 ай бұрын
Are these endpoints accessible to any HTTP client? For my next.js app, browser always throws CORS error even though my domain is whitelisted under App Settings. Postman works fine. What's the purpose of these endpoints?
@brokercl
@brokercl 2 ай бұрын
cant access from flutter to endpoints, and I dont know why, the web is launch from url_launcher packaged
@miguelcosta4450
@miguelcosta4450 4 ай бұрын
I need to create a endpoint or it's not necessary because we have a default endpoint?
@joeloush6759
@joeloush6759 6 ай бұрын
Does anyone know how can I add some images via Postman?
@joeloush6759
@joeloush6759 6 ай бұрын
Does anyone know how to do a delete or a put/edit function?
@apaajaapaaja473
@apaajaapaaja473 Жыл бұрын
how to find by id? please answer my question
@jugalkumarseth7675
@jugalkumarseth7675 Жыл бұрын
Does autocomplete and search feature also available on serverless?
@MongoDB
@MongoDB Жыл бұрын
Hi there! Currently Atlas Search is not available on Serverless instances so the autocomplete feature is also unavailable. You can view all limitations of Serverless instances in our docs: www.mongodb.com/docs/atlas/reference/serverless-instance-limitations/
@mraravind1111
@mraravind1111 Жыл бұрын
How to optimise fetch to loop and get 6mb data when the data exceeds the 6mb limit?
@MongoDB
@MongoDB Жыл бұрын
👋 Hi Aravind! Can you please provide more information on your question?
@justinlevine6690
@justinlevine6690 Жыл бұрын
I'm currently experimenting with the MongoDB App Services and as these HTTPS endpoints/serverless functions are a paid service. How can someone insulate themselves from an influx of traffic that is excessive, perhaps nefarious? Any insulation from DDoS attacks? Any way to set rate limiting for authenticated users?
@MongoDB
@MongoDB Жыл бұрын
Hi Justin! Thanks for reaching out. Atlas App Services has a default rate limit of 5k ops/s. Users can set an alert on the request rate in their Atlas alerts if they want notification of any thresholds. Within AWS, we have standard DDoS protection enabled. App Services also support IP Access Lists and is looking into more rate limiting/throttling features in the future.
@justinlevine6690
@justinlevine6690 Жыл бұрын
@@MongoDB Awesome! Thanks for the info. It helps a lot.
@MongoDB
@MongoDB Жыл бұрын
Happy to help! 💚
@user-nr7ot6gn7q
@user-nr7ot6gn7q 3 ай бұрын
REST API with MongoDB Atlas CURD Operations please, in this tutorial (Get- Create), (Put- Update), (Post-Read), (Delete)........ how to create HTTPS Endpoints this one (PUT, Patch, delete)
@heyoung548
@heyoung548 Жыл бұрын
Where is the authorization video?
@MongoDB
@MongoDB Жыл бұрын
Hi there! Can you please explain your request?
@amdphreak
@amdphreak Жыл бұрын
This tutorial is out of date. There is no such thing as the Atlas tab
@MongoDB
@MongoDB Жыл бұрын
Thanks for sharing the feedback, Ryan!
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 59 МЛН
DO YOU HAVE FRIENDS LIKE THIS?
00:17
dednahype
Рет қаралды 35 МЛН
OMG😳 #tiktok #shorts #potapova_blog
00:58
Potapova_blog
Рет қаралды 4 МЛН
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 85 МЛН
How To Create a Python API With FastAPI - Full Tutorial
25:39
Tech With Tim
Рет қаралды 31 М.
Create a RESTful API with .NET Core and MongoDB
39:02
MongoDB
Рет қаралды 37 М.
Serverless API in 15 Minutes Tutorial - MongoDB Realm & Postman
14:45
What is an API Gateway?
15:02
Gaurav Sen
Рет қаралды 50 М.
Create a Data Enabled API in 10 Minutes with MongoDB Realm
15:13
Michael Lynn
Рет қаралды 28 М.
MongoDB Atlas Introduction
33:22
MongoDB
Рет қаралды 5 М.
Когда все обошлось 😮‍💨 | Королева Двора
0:16
Аминка Витаминка
Рет қаралды 3 МЛН
Ещё один способ не забеременеть
0:16
Pavlov_family_
Рет қаралды 9 МЛН
He has no power to use all tomato 🍅 🤣
0:15
LikvoFam
Рет қаралды 3 МЛН
When You Get Ran Over By A Car...
0:15
Jojo Sim
Рет қаралды 4,4 МЛН
I Outsmarted My Bully Brother And Ate His Cotton Candy🤫😎
0:33
Giggle Jiggle
Рет қаралды 5 МЛН