MongoDB Developer
MongoDB Developer Centerchevron-right
Developer Topicschevron-right

JavaScript

A lightweight, interpreted, object-oriented language. JavaScript engines execute JavaScript code in client-side (in web browsers) or server-side(for example, the V8 engine is a core component of the Node.js and Deno runtimes).

Featured

random alt
Tutorial

Deploy and Host Your React Web App on MongoDB Atlas App Services

This Atlas App Services tutorial shows you how to host websites and single-page applications like React in just 5 steps....
GraphQLReactAtlasJavaScript

Nov 15, 2022
Sourabh Bagrecha
Tutorial

Implement Analytics Dashboard in React Using Custom Resolvers for Atlas GraphQL API


Nov 11, 2022
Tutorial

Create an Analytics Dashboard Using Atlas GraphQL API’s Custom Resolvers


Nov 09, 2022
JavaScript Articles
All JavaScript Articles
random alt
Article

Technical Preview of a Realm Flipper Plugin


Oct 20, 2022
random alt
Article

Realm JavaScript v11: A Step Forward for React Native — Hermes Support, Realm React, Flipper, and Much More


Oct 17, 2022
random alt
Article

Listen Along at Scale Up with Atlas Application Services


Jun 23, 2022
All JavaScript Articles
JavaScript Quickstarts
random alt
Quickstart

How to Connect MongoDB Atlas to Vercel Using the New Integration


Jun 14, 2022
random alt
Quickstart

Getting Started with MongoDB & Mongoose


May 19, 2022
random alt
Quickstart

Realm Web SDK Tutorial


Sep 23, 2022
JavaScript Code Examples
random alt
Code Example

GroupUs

A web-app that automates group formation for projects/assignments etc.....

Jul 07, 2022
random alt
Code Example

Magazine Management

A system manage student's post for school or an organization...

Jul 07, 2022
random alt
Code Example

Trends analyser

Analyse how hashtags on twitter change over time. ...

Jul 07, 2022
JavaScript Tutorials
Tutorial

Deploy and Host Your React Web App on MongoDB Atlas App Services


Nov 15, 2022
Tutorial

Implement Analytics Dashboard in React Using Custom Resolvers for Atlas GraphQL API


Nov 11, 2022
Tutorial

Create an Analytics Dashboard Using Atlas GraphQL API’s Custom Resolvers


Nov 09, 2022
JavaScript Videos
randomAlt
Play Button
Video

Create a Twitter Clone using Next.js, MongoDB, Auth0, & Deploy to Vercel


Sep 27, 2022
randomAlt
Play Button
Video

Application Deployment in Kubernetes with the MongoDB Atlas Operator


Sep 13, 2022
randomAlt
Play Button
Video

How to Deploy your Serverless Full-Stack App with Google Cloud Run and MongoDB Atlas


Sep 06, 2022
All JavaScript Content
search
  • Most Recent
  • Highest Rated
alt not provided
Tutorial

Flexible Querying with Atlas Search

Atlas Search provides the ability to execute a performant query that spans multiple indexes in your data store. It's very rare, however, that MongoDB’s query planner selects a plan that involves multiple indexes. We’ll walk through a scenario in which this becomes a requirement. ...

Oct 04, 2022
Ethan Steininger
alt not provided
Play Button
Video

Create a Twitter Clone using Next.js, MongoDB, Auth0, & Deploy to Vercel

✅ Sign-up for a free cluster at: https://bit.ly/mongodb-free ✅ Get help on our Community Forums: https://bit.ly/mongodb-community In this video, we'll create a Twitter clone Jamstack application using the MongoDB Atlas Data API, @Auth0, Next.js, and @Vercel. This workshop will walk you through each step and will help you easily follow along step by step. 📚 RESOURCES 📚 GitHub Repo: https://github.com/mongodb-developer/social-app-demo MongoDB Atlas: https://bit.ly/mongodb-free MongoDB VS Code extension: https://marketplace.visualstudio.com/items?itemName=mongodb.mongodb-vscode MongoDB Compass: https://www.mongodb.com/try/download/compass Auth0: https://auth0.com/signup Vercel: https://vercel.com/signup Connect with Jesse: Twitter: https://bit.ly/tweet-codeSTACKr ⏱️ Timestamps ⏱️ 00:00:00 - Intro 00:00:33 - Agenda 00:00:59 - Exercise Overview 00:02:18 - Prerequisites 00:03:04 - What is the Jamstack? 00:06:00 - Reduce Complexity & Increase Portability 00:06:10 - What is Serverless? 00:07:13 - Serverless Instances 00:08:16 - Atlas Serverless Functions & HTTPS Endpoints 00:09:18 - Atlas Data API 00:10:26 - Consider the Alternatives 00:11:27 - Workshop GitHub Repo 00:11:59 - Lesson 1 - Fork & Clone the Workshop Repo 00:13:31 - Lesson 2 - Create Atlas Cluster 00:18:35 - Lesson 3 - Load Sample Data 00:19:22 - Option 1: MongoDB VS Code Extension 00:23:26 - Option 2: MongoDB Compass 00:26:12 - Lesson 4 - Test Data API 00:31:55 - Lesson 5 - Set Up Local App 00:48:23 - Lesson 6 - Atlas Functions & HTTPS Endpoints 00:50:38 - Lesson 7 - Configure User Auth 01:07:04 - Lesson 8 - Add Like Functionality 01:13:27 - Lesson 9 - Create Search Index & Route 01:20:06 - Lesson 10 - Deploy your Application! --- Subscribe to MongoDB ➡️ https://bit.ly/3bpg1Z1 #mongodb #database #tutorial...

Sep 27, 2022
alt not provided
Play Button
Video

Application Deployment in Kubernetes with the MongoDB Atlas Operator

✅ Subscribe to MongoDB Atlas on Google Cloud: https://bit.ly/3KOx4H9 In this video, we’ll setup a MERN stack application in just minutes, and use the Kubernetes Atlas operator to connect our backend to Atlas using a Kubernetes secret. 📚 For readers, here is a written version: https://www.mongodb.com/developer/products/atlas/kubernetes-operator-application-deployment/ 😎 Connect with Cedric: Twitter: https://twitter.com/cedricclyburn LinkedIn: https://www.linkedin.com/in/cedricclyburn ⏱️ Timestamps ⏱️ 0:00 Introduction 00:24: Prerequisites 00:43: Getting started 04:13: Using the MongoDB Atlas Operator for Kubernetes 08:35: Create and manage an Atlas deployment 12:49: Configure the application back end using the Atlas operator --- Subscribe to MongoDB ➡️ https://bit.ly/3bpg1Z1 #mongodb #kubernetes #database...

Sep 13, 2022
alt not provided
Play Button
Video

How to Deploy your Serverless Full-Stack App with Google Cloud Run and MongoDB Atlas

✅ Subscribe to MongoDB Atlas on Google Cloud: https://bit.ly/3KOx4H9 In this video, you'll learn what is serverless, how to deploy a serverless MEAN stack application on Google Cloud Run, and how to create a MongoDB Atlas serverless instance. 📚 RESOURCES 📚 Learn more about Google Cloud Run and MongoDB Atlas serverless instances - https://bit.ly/mongodb-google-cloud ⏱️ Timestamps ⏱️ 0:00 Introduction 0:14 Autoscaling 1:18 Improved developer productivity 1:50 Better billing model 2:16 Serverless considerations 3:03 Google Cloud Run 3:47 MongoDB Atlas serverless instances 5:18 Serverless MEAN stack 6:11 Deploying to Cloud Run 8:42 Node.js API service configuration 10:14 Angular client service configuration 11:21 Angular Firebase deployment 11:32 Cloud Run command-line deployment --- Subscribe to MongoDB ➡️ https://bit.ly/3bpg1Z1 #mongodb #google-cloud #serverless...

Sep 06, 2022
alt not provided
Tutorial

CRUD Operations with GraphQL Using Atlas App Services

GraphQL gives clients the ability to request exactly the data they need, nothing more and nothing less. Learn how to perform CRUD operations using Atlas GraphQL API....

Aug 24, 2022
Sourabh Bagrecha
alt not provided
Tutorial

Implement Email/Password Authentication in React

Configuring signup and login authentication is a common step for nearly every web application. Learn how to set up email/password authentication in React using MongoDB Atlas App Services....

Aug 24, 2022
Sourabh Bagrecha
alt not provided
Play Button
Video

Build a Modern App Stack with MongoDB & Apollo GraphQL using a Supergraph!

✅ Sign-up for a free cluster at: https://bit.ly/mongodb-free ✅ Get help on our Community Forums: https://bit.ly/mongodb-community In this live-coding video, Stanimira Vlaeva (MongoDB) and Jesse Lovelace (Apollo) build a supergraph from scratch using Apollo Federation, a declarative, modular GraphQL architecture! 💻 PROJECT SOURCE CODE 💻 https://github.com/mongodb-developer/rockets-store ⏱️ Timestamps ⏱️ 0:00:00 Introduction 0:00:33 Atlas GraphQL API 0:02:31 GraphQL Monolith Problems 0:04:41 Apollo Federation 0:13:58 Overview of the ‘E-Commerce’ Subgraph Schema 0:22:41 Scaffolding the Gateway 0:27:30 Building the ‘Launches’ Subgraph 0:49:54 Federated Architecture and Relating Data from Subgraphs 1:24:15 Apollo Federation Q&A 1:32:19 Integrating the Apollo Supergraph with a Web Application --- Subscribe to MongoDB ➡️ https://bit.ly/3bpg1Z1 #mongodb #graphql...

Aug 23, 2022
Graphic of Kubernetes and MongoDB
Tutorial

Application Deployment in Kubernetes with the MongoDB Atlas Operator

Get started with application deployment into a Kubernetes cluster using the MongoDB Atlas Operator....

Aug 16, 2022
Joel Lord (+1)
alt not provided
Play Button
Video

How to Integrate Vercel & MongoDB Step-by-Step

✅ Create a new Vercel project: https://bit.ly/vercel-mdb ✅ Sign-up for a free cluster at: https://bit.ly/mongodb-free ✅ Get help on our Community Forums: https://bit.ly/mongodb-community Getting a MongoDB Atlas database created and linked to your Vercel project has never been easier. In this video, we’ll get everything set up—including a starter Next.js application—in just minutes and show you how to properly connect to your database using a serverless function. 📚 For readers, here are written versions: - https://www.mongodb.com/developer/products/atlas/how-to-connect-mongodb-atlas-to-vercel-using-the-new-integration/ - https://www.mongodb.com/developer/languages/javascript/integrate-mongodb-vercel-functions-serverless-experience/ 📚 RESOURCES 📚 Vercel: https://bit.ly/vercel-mdb Atlas: https://bit.ly/mongodb-free Node.js: https://bit.ly/node-mdb Atlas CLI: https://bit.ly/atlascli Connect with Jesse: Twitter: https://bit.ly/tweet-codeSTACKr ⏱️ Timestamps ⏱️ 0:00 Intro 0:16 Prerequisites 0:27 What is Vercel? 0:52 Create a starter project 1:56 Create a Vercel project and integrate MongoDB 4:27 Sync Vercel settings to local environment 6:30 Working with Vercel serverless functions 7:28 Configuring a database cluster in MongoDB Atlas 8:28 Connect to MongoDB and cache connections for a performance optimized experience 13:35 Querying MongoDB from a Vercel function in the Next.js application 15:23 Manage connection using JavaScript modules 17:15 Adding our data to the frontend --- Subscribe to MongoDB ➡️ https://bit.ly/3bpg1Z1 #mongodb #serverless #nextjs...

Aug 02, 2022
alt not provided
Play Button
Video

Developing a Web Application with Netlify Serverless Functions and MongoDB

✅ Sign-up for a free cluster at: https://bit.ly/mongodb-free ✅ Get help on our Community Forums: https://bit.ly/mongodb-community 📚 For readers, here's a written version: https://www.mongodb.com/developer/languages/javascript/developing-web-application-netlify-serverless-functions-mongodb/ Learn how to deploy a scalable serverless application with Netlify Serverless Functions and MongoDB Atlas in this tutorial by Nic Raboy. --- Subscribe to MongoDB ►►► https://bit.ly/3bpg1Z1 ⏱️ Timestamps ⏱️ 0:00 Introduction 0:15 Requirements 2:00 Create a new Netlify project with the Netlify CLI 3:34 Create a Netlify Function that interacts with MongoDB 12:45 Consume the Netlify Function from an HTML file with JavaScript 17:34 Deploy the Netlify Function with website to the cloud #webdevelopment #serverless #mongodb...

Jul 27, 2022