Voyage AI joins MongoDB to power more accurate and trustworthy AI applications on Atlas.

Explore Developer Center's New Chatbot! MongoDB AI Chatbot can be accessed at the top of your navigation to answer all your MongoDB questions.

MongoDB Developer
MongoDB Developer Center
chevron-right
Developer Topics
chevron-right

TypeScript

plus Follow
Sign in to follow topics
A strict syntactical superset of JavaScript and adds optional static typing to the language. TypeScript simplifies JavaScript code, making it easier to read and debug.

Featured

Video

The OpenAI Agents SDK for TypeScript is Missing Something—And That’s Ok

Try MongoDB 8.0 → https://mdb.link/s3X2N5AoVd8-try Sign-up for a free cluster → https://mdb.link/s3X2N5AoVd8-register 📚 Resources: OpenAI Agents SDK with MongoDB Template: https://github.com/mongodb-developer/GenAI-Showcase/tree/main/apps/openai-agents-sdk OpenAI Agents SDK Docs: https://openai.github.io/openai-agents-js/ Subscribe to MongoDB YouTube→ https://mdb.link/subscribe Learn how to build powerful AI agents using the new OpenAI Agents SDK for TypeScript with MongoDB as a memory provider. In this tutorial, I'll show you how to create context-aware agents that remember conversations and improve over time. Unlock the power of AI agents in TypeScript! Explore the new OpenAI Agents SDK for TypeScript, a powerful tool that brings robust AI capabilities directly to your JavaScript/TypeScript applications. Discover its core features like agent loops, handoffs, guardrails, and function tools. Learn about the crucial missing piece: memory persistence. We'll show you how to integrate MongoDB as a memory provider to give your AI agents conversational context, remember past interactions, recognize returning users, and even track performance. This enables you to build more intelligent applications, from customer support to personalized educational tools. 🔥 What You'll Learn: How to use the OpenAI Agents SDK for TypeScript Implementing MongoDB as a memory system for AI agents Building agents that maintain conversation context Creating personalized AI assistants that learn from interactions TypeScript-first development with strong typing support ⚡ Key Features Covered: Agent loops and conversation management Function tools with automatic schema generation Handoffs between multiple specialized agents Built-in tracing and debugging tools Real-time agent capabilities 💡 Perfect For: TypeScript/JavaScript developers AI application builders MongoDB developers Anyone building chatbots or AI assistants 🛠 Tech Stack: OpenAI Agents SDK for TypeScript MongoDB for conversation memory Node.js backend integration TypeScript for type safety 0:00 Introduction to OpenAI Agents SDK for TypeScript 0:54 Core Features of the SDK 2:06 The Missing Key Feature 2:40 MongoDB as a Memory Provider 3:02 Implementing Memory in Code 3:27 Why TypeScript Developers Will Love This 3:54 Real-World Agent Applications & Template This video is not affiliated with, endorsed by, or sponsored by OpenAI. The use of any trademark is solely for informational and identification purposes, so that we may provide clear and accurate descriptions. All opinions and critiques provided in this video are those of the creator and do not reflect the views of OpenAI or its affiliates. Visit Mongodb.com → https://mdb.link/MongoDB Read the MongoDB Blog → https://mdb.link/Blog Read the Developer Blog → https://mdb.link/developerblog...
AIMongoDBTypeScriptJavaScript

Jun 05, 2025 | 5 min
Video

Build Agentic Workflows with Mastra - The TypeScript Agent Framework

MongoDB thumbnail image
Play Button

May 27, 2025 | 62 min
Video

Prisma can Transform Your MongoDB Development | Type-Safety, Schema Management, & More!

MongoDB thumbnail image
Play Button

Apr 29, 2025 | 6 min
TypeScript Tutorials
All TypeScript Tutorials
Tutorial

How to Deploy MongoDB Atlas with AWS CDK in TypeScript

MongoDB thumbnail image

Mar 13, 2025 | 5 min read
Tutorial

Supercharge Your AI Applications: AWS Bedrock, MongoDB, and TypeScript

MongoDB thumbnail image

Oct 10, 2024 | 9 min read
Tutorial

Build a JavaScript AI Agent With LangGraph.js and MongoDB

MongoDB thumbnail image

Sep 18, 2024 | 15 min read
All TypeScript Tutorials
TypeScript Videos
All TypeScript Videos
Video

The OpenAI Agents SDK for TypeScript is Missing Something—And That’s Ok

MongoDB thumbnail image
Play Button

Jun 05, 2025 | 5 min
Video

Build Agentic Workflows with Mastra - The TypeScript Agent Framework

MongoDB thumbnail image
Play Button

May 27, 2025 | 62 min
Video

Prisma can Transform Your MongoDB Development | Type-Safety, Schema Management, & More!

MongoDB thumbnail image
Play Button

Apr 29, 2025 | 6 min
All TypeScript Content
search
  • Latestcheck
  • Highest Rated
Video

Setting up a Web Server with Bun #mongodb #tutorial #bun

Learn how to use Bun, a high-performance JavaScript runtime, to build a simple CRUD API with MongoDB. This video walks you through setting up your environment, creating a basic web server, and connecting to a MongoDB database using Bun’s built-in features. Perfect for developers looking to explore alternatives to Node.js with modern tooling.
MongoDB thumbnail image
Play Button

Aug 21, 2024
Video

Setting up API Routes with Bun #mongodb #bun #tutorial

Learn how to use Bun, a high-performance JavaScript runtime, to build a simple CRUD API with MongoDB. This video walks you through setting up your environment, creating a basic web server, and connecting to a MongoDB database using Bun’s built-in features. Perfect for developers looking to explore alternatives to Node.js with modern tooling.
MongoDB thumbnail image
Play Button

Aug 19, 2024
Video

What is Bun?

Learn how to use Bun, a high-performance JavaScript runtime, to build a simple CRUD API with MongoDB. This video walks you through setting up your environment, creating a basic web server, and connecting to a MongoDB database using Bun’s built-in features. Perfect for developers looking to explore alternatives to Node.js with modern tooling.
MongoDB thumbnail image
Play Button

Aug 16, 2024
Video

How to Get Started With Bun & MongoDB

✅ MongoDB Atlas account → https://mdb.link/WsUOyPL1QnI-register ✅ Get help on our Community Forums → https://mdb.link/WsUOyPL1QnI-forums ✅ Written guide → https://mdb.link/WsUOyPL1QnI-guide" target="_blank" rel="noreferrer">https://mdb.link/WsUOyPL1QnI-guide - Learn how to use Bun, a high-performance JavaScript runtime, to build a simple CRUD API with MongoDB. This video walks you through setting up your environment, creating a basic web server, and connecting to a MongoDB database using Bun’s built-in features. Perfect for developers looking to explore alternatives to Node.js with modern tooling. For the complete written guide, including code snippets and detailed instructions, check out the full article here: https://mdb.link/WsUOyPL1QnI-guide" target="_blank" rel="noreferrer">https://mdb.link/WsUOyPL1QnI-guide 00:00 - Intro 01:13 - Bun Setup 02:03 - Application Structure 02:53 - Starting the application 03:59 - Connecting to MongoDB 05:54 - Building a movie TypeScript model 06:31 - Create a movies controller 07:53 - Server routing 09:44 - Connecting everything 15:18 - What's next?
MongoDB thumbnail image
Play Button

Aug 14, 2024
Tutorial

Type Safety With Prisma & MongoDB

In this article, explore Prisma, an object relational mapper (ODM) for MongoDB. Prisma helps developers to write code that is both readable and type-safe.
MongoDB thumbnail image

Aug 09, 2024
Jesse Hall
Quickstart

Getting Started With Bun and MongoDB

Bun is the JavaScript runtime that uses WebKit's JavaScriptCore as the JavaScript engine, which is different from Node.js, which uses V8.
MongoDB thumbnail image

Jul 19, 2024
Joel Lord
Video

Sentiment Chef Demo Walkthrough | MongoDB Atlas and Gemini

✅ Sign-up for a free cluster at → https://mdb.link/MYXszuADKp0-register - Sentiment - Chef is a project demonstrating sentiment analysis and summarization with Gemini Pro, feature extraction and tagging for images and videos with Gemini Pro Vision, full-text search with MongoDB Atlas Search and serverless workflow with MongoDB Atlas Triggers. (Links for, MongoDB website, etc): Try MongoDB Atlas - GitHubhttps://github.com/mongodb-developer/Google-Cloud-Sentiment-Chef/
MongoDB thumbnail image
Play Button

Jun 20, 2024
Video

Learn The Basics of AI and RAG - A Quest to Building Your First AI Chatbot

⭐ Register for the Quest: https://app.wilco.gg/company/MongoDBUniversity/mongodb_rag_ai/play ⭐ Get Started on Your Chatbot: https://mongodb.github.io/chatbot/quick-start/ ⭐ Blog post - https://mdb.link/M9GvsHze2F8-blog - Welcome to the dawn of a new era in AI chatbot development! Let's kickstart the "RAG to Riches" quest with an exclusive live session. Dive deep into the world of MongoDB and discover why it's the cornerstone for building efficient, intelligent chatbots using Node.js. What to Expect: Introduction to AI and how MongoDB is a pivotal component of your AI tech stack. Why MongoDB & Node.js?: Learn about the synergy between MongoDB and Node.js and how it can revolutionize your AI projects. Overcoming Development Hurdles: Tackle common pain points in AI chatbot development with real-time solutions. Live Q&A: Get your questions answered. Dive into the specifics of AI chatbots and MongoDB's role in simplifying the process. Why This Matters: The AI landscape is booming, and Node.js stands at the forefront of this revolution, thanks to its event-driven architecture perfectly suited for chatbot interactions. With MongoDB, starting your AI chatbot project becomes a breeze, empowering you to create more interactive and intelligent applications. Who Should Join? Whether you're a seasoned developer or just curious about AI chatbot development, this session is for you! Don't miss out on this opportunity to expand your skills and explore new horizons with MongoDB and AI chatbots. Set your reminders, bring your curiosity, and prepare to embark on a journey from "RAG to Riches" with us. See you there!
MongoDB thumbnail image
Play Button

Mar 27, 2024
Video

How to Use the MEAN Stack: Build a Web Application From Scratch

✅ Sign-up for a free cluster at → https://mdb.link/free-GcYxQ0A7tVM ✅ Get help on our Community Forums → https://mdb.link/community-GcYxQ0A7tVM" target="_blank" rel="noreferrer">https://mdb.link/community-GcYxQ0A7tVM The MongoDB Atlas Navigation has been enhanced to provide a more intuitive and streamlined experience. Discover the updates here: https://mdb.link/AtlasUpdate 🚀 Dive into full-stack development with our comprehensive MEAN Stack tutorial. This video guides you through building a robust Employee Management System using MongoDB, Express.js, Angular, and Node.js. Whether you're a beginner looking to get started in full-stack development or an experienced developer seeking to master the MEAN stack, this tutorial is for you! 🔗 Article for More Details: https://mdb.link/mean-GcYxQ0A7tVM 🧠 What You'll Learn 🧠 ✨ Introduction to MEAN Stack and its components ✨ Setting up your development environment ✨ Creating a server-side application with Node.js and Express ✨ Building a RESTful API ✨ Developing a client-side application using Angular ✨ Connecting your application to MongoDB Atlas for data storage ⏱️ Timestamps ⏱️ 00:00 - Introduction 00:16 - What is MEAN? 01:07 - Prerequisites 01:55 - Server: Setup 03:37 - Server: Interface 04:18 - Server: Connect to MongoDB 06:12 - Server: Environment Variables 06:42 - Server: server.ts 07:53 - Server: RESTful API build 12:48 - Server: Configure Routes 13:32 - Client: Angular app setup 16:09 - Client: Create Angular Interface 16:45 - Client: Create Angular Service 20:05 - Client: Create Employee List Component 24:11 - Client: Define Routes 25:36 - Client: Create Form Component 29:33 - Client: Create Add-Employee Component 31:14 - Client: Create Edit-Employee Component 33:30 - Client: Update Routes 34:03 - Test the Application! 📚 Download the Full Code 📚 Get the entire codebase from our GitHub repository to follow along and experiment with the MEAN stack: https://github.com/mongodb-developer/mean-stack-example ⁉️ Questions? Join our community forum and ask away. We love to help: https://mdb.link/community-GcYxQ0A7tVM" target="_blank" rel="noreferrer">https://mdb.link/community-GcYxQ0A7tVM 💬 Connect with Jesse: Twitter: https://twitter.com/codestackr --- Subscribe to MongoDB YouTube→ https://mdb.link/subscribe
MongoDB thumbnail image
Play Button

Mar 13, 2024
Tutorial

Instant GraphQL APIs for MongoDB with Grafbase

Learn how to quickly and easily create a GraphQL API from your MongoDB data with Grafbase.
MongoDB thumbnail image

Oct 12, 2023
Jamie Barton