8

Getting Started with Deno & MongoDB

 2 years ago
source link: https://www.youtube.com/watch?v=xOgicDUXnrE
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Getting Started with Deno & MongoDB

1,077 views
Jan 28, 2022

52.3K subscribers

Deno is a “modern” runtime for JavaScript and TypeScript that is built in Rust. This makes it very fast!

If you are familiar with Node.js, then you will be right at home with Deno. It is very similar but has some improvements over Node.js. In fact, the creator of Deno, Ryan Dahl, also created Node and Deno is meant to be the successor to Node.js.

Deno has no package manager, uses ES modules, has first-class `await`, has built-in testing, and is somewhat browser-compatible by providing built-in `fetch` and the global `window` object.

Aside from that, it’s also very secure. It’s completely locked down by default and requires you to enable each access method specifically.

This makes Deno pair nicely with MongoDB since it is also super secure by default.

Article Link: https://www.mongodb.com/developer/art... GitHub Repo: https://github.com/mongodb-developer/...

✅ Sign-up for a free cluster at: https://bit.ly/mongodb-jumpstart ✅ Get help on our Community Forums: https://bit.ly/mongodb-community

Timestamps: 00:00 - Intro 01:12 - Deno Installation 01:21 - Set up Oak Middleware 03:44 - Set up MongoDB Atlas Data API 04:55 - Create Route Controller 07:10 - "Create" Route 10:34 - "Read" All Documents Route 12:48 - "Read" Single Document Route 14:45 - "Update" Route 17:20 - "Delete" Route 19:03 - BONUS: "Aggregation" Route 21:18 - What Next?

💬 Connect with Jesse: Twitter: https://twitter.com/codestackr YouTube: https://youtube.com/codestackr LinkedIn: https://linkedin.com/in/codestackr Instagram: https://instagram.com/codestackr TikTok: https://tiktok.com/@codestackr

Subscribe to MongoDB ►►► https://bit.ly/3bpg1Z1

💬 Connect with MongoDB: Website: https://bit.ly/2LjtNBZ Twitter: https://bit.ly/3fH87gR Facebook: https://bit.ly/3fEaIsd Linkedin: https://bit.ly/2SY9w90 Instagram: https://bit.ly/3bn9bDv Community Forums: https://bit.ly/2I8VCi5 TikTok: https://bit.ly/3fHoqdJ


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK