MongoDB

MongoDB is a free and open-source document-oriented database platform which uses JSON-like documents with schemas.

Subscribe to MongoDB
Get notified when new articles on MongoDB are published.
    All
  • 20 Results
    • Question

      Check provision status of api created database cluster

      We are creating a database cluster from the api. That part works fine, but we need a way to check and be notified once the cluster is done provisioning so we can add the databases to it. We tried making a curl call to...
      1 answer1 day agoBy Garrett WeinbergDatabasesMongoDBNode.js
    • Tech Talk

      Building Modern Apps With MongoDB

      When it comes to choosing a database, do MongoDB or do not—there is no try. Learn how to set up, deploy, and connect to a MongoDB database and float your app out of the swamp!
      13 days agoBy Ado KukicApplicationsMongoDBTech Talks
    • Question

      Node.js. Response is delayed after a certain time

      I have published nodejs application under apps. When I deploy for the first time, the response returns fast as it should. After 3-4 hours, the responses are returning 6x-7x slow. I’m also using MongoDb.I did not have ...
      1 answer22 days agoBy TinyElectricBlueClamAPIDigitalOcean App PlatformDigitalOcean Managed MongoDB DatabaseMongoDBNode.js
    • Question

      FIPS in mongodb

      how can i configure my mongodb to use FIPS
      1 answer1 month agoBy velascoflores93DigitalOcean Managed MongoDB DatabaseMongoDB
    • Question

      USING MONGODB LOCALLY - BACKEND DEV

      When i started learnig mongodb, i learned how to create a cluster on the cloud, and how to connect it with my node.js backend. But how, now that i’ve installed mongodb locally, can i do the same offline, just like it ...
      1 answer2 months agoBy f4978c89b12e-4b48-ac87-cf9822MongoDBNode.js
    • Question

      how to setup daily backup mongoDB database in digitalocean.

      I don’t need to download current database. I need a delete data backup from a day or two ago. Also I certainly don’t need to restore current database from a backup. So, is there a way I could download just the backup?
      2 answers2 months agoBy StealthDigitalOcean Managed MongoDB DatabaseMongoDB
    • Tutorial

      How To Perform CRUD Operations in MongoDB

      Data management involves four fundamental types of database operations: operations that allow you to create, read, update, and delete data. Collectively, these operations are known as CRUD operations. This tutorial ou...
      2 months agoBy Mateusz PapiernikMongoDBDatabases
    • Tutorial

      How To Use MongoDB in a Flask Application

      In web applications, you usually need a database to store and maintain persistent data. Flask is a lightweight Python web framework that provides useful tools and features for creating web applications in the Python L...
      3 months agoBy Abdelhadi DyouriDatabasesDevelopmentFlaskMongoDBPythonPython Frameworks
    • Question

      Mongodb Compass stops working (Server selection timed out after 30000 ms)

      I have mongodb database in digital ocean. I already have my ip address in trusted sources. Mongodb compass was working fine but it stops working now. I tried everything but couldnot again connect.
      1 answer3 months agoBy regmiprem101@gmail.comDigitalOcean Managed MongoDB DatabaseMongoDB
    • Tutorial

      How To Monitor MongoDB's Performance

      MongoDB comes installed with a variety of tools and utilities you can use to observe database performance. In this tutorial, you’ll learn how to monitor database metrics on-demand using built-in commands and tools. Yo...
      4 months agoBy Mateusz PapiernikMongoDBMonitoringDatabasesNoSQL
    • Tutorial

      How To Use Schema Validation in MongoDB

      In MongoDB, the database engine feature that makes it possible to apply constraints on the document structure is called Schema Validation and is built around JSON Schema, an open standard for JSON document structure d...
      4 months agoBy Mateusz PapiernikMongoDBDatabasesData Analysis
    • Question

      self signed certificate in certificate chain on mongo db compass

      im using windows 10 on the mongo managed cluster. how do i connect using the supplied certificate if it is self signed? ive even installed the certificate as a trusted source.
      1 answer4 months agoBy JesusisLord33333MongoDBDigitalOcean Managed MongoDB Database
    • Question

      Mongo TLS certificate from ENV

      The digital-ocean hosted mongo-DB requires TLS authentication using the -tlsCAFile connection parameter.If possible, I would not like to commit the ca-certificate.crt into my github repo.So, the approach is to outsour...
      1 answer4 months agoBy colinriMongoDBNode.js
    • Question

      Managed MongoDB vs self-managed -- will my scripts still crash mongod?

      Hi there, I’m working on a big data / analytics project, running entirely on a DO droplet (Ubuntu). The DB backend for this project is MongoDB. So far, I’ve run the project (pre-production) on a MongoDB install on the...
      1 answer4 months agoBy nikloynesMongoDBDigitalOcean Managed MongoDB Database
    • Question

      Can I deploy a PERN(Postgres,Express,React,Nodejs) stack web app to Digital Ocean? How much will it cost?

      I am made a Pern stack app for a school which can perform crud operations. The database is Postgres and it will have 10 tables and approximately 2000 rows for each table. How much will hosting this app cost monthly?
      Accepted Answer: Hi there, Yes, this tech stack could be set up on a single $5/mo Droplet. However the size of the server would depend on the complexity of the app, the amount of traffic and the resources that the app needs. What I us...
      1 answer4 months agoBy hamdanhassanNode.jsReactPostgreSQLMongoDB
    • Question

      How to connect a MongoDB Database to the App Platform?

      I am trying to find the best way to connect to MongoDB when using the App Platform. I didn’t realize at first that it didn’t have a static IP so I looked around. Digital Ocean has Managed Databases so I went to check ...
      1 answer4 months agoBy larryryan0824DigitalOcean App PlatformMongoDBDigitalOcean Managed MongoDB Database
    • Question

      Accessing MongoDB hosted on DigitalOcean with Next.js Web App

      I am using Mongo URI syntax in my .env.local file: mongodb://root:<password>@<ip>:22/diversable However, this method doesn’t work and here is the error code I am getting: MongoServerSelectionError: Invalid message siz...
      No answers yet4 months agoBy andytubeeeMongoDBNext.js
    • Tutorial

      How To Perform Full-text Search in MongoDB

      There are multiple highly specialized tools that have full-text search capabilities, but many database management systems today have such features, though perhaps with some limitations. In this tutorial, you’ll learn ...
      4 months agoBy Mateusz PapiernikMongoDBDatabases
    • Question

      How to build a freelance market place from scratch using mern stack

      I’m a beginner and dont have hands on experience in mern stack. I have been assigned a project to create a freelance marketplace using mern stack.Can someone guide me in detail how many apis will be created in the bac...
      1 answer5 months agoBy ijlalahmed90ReactNode.jsMongoDBAPI
    • Question

      Cant login with MongoDB Compass

      I can login with the ssh, but it doesnt seem to work if i try to use mongodb compass. I have authorization enabled and i login succesfully with SSH for mongodb. But it doesn’t work on mongodb compass. It says Connecti...
      Accepted Answer: Hi there, You can follow the steps on how to do that here: https://www.digitalocean.com/community/tutorials/how-to-configure-remote-access-for-mongodb-on-ubuntu-20-04 It is step number 2 that you need to complete in o...
      1 answer5 months agoBy arthurvanleeuwenMongoDBDigitalOcean Managed MongoDB Database