mongodb.md
July 15, 2021 · View on GitHub
Bookmarks tagged [mongodb]
www.codever.land/bookmarks/t/mongodb
SQL vs NoSQL or MySQL vs MongoDB - 21min
https://www.youtube.com/watch?v=ZS_kXvOeQ5Y
SQL or NoSQL? MySQL vs MongoDB? Which database is better? Which one should you use?
Welcome to the MongoDB Documentation — MongoDB Documentation
- tags: mongodb
Railway
Infrastructure, Instantly
- tags: mongodb
Defending Against Query Selector Injection Attacks
https://thecodebarbarian.wordpress.com/2014/09/04/defending-against-query-selector-injection-attacks...
This article shows two simple ways to protect against the attacks described in Hacking NodeJS and MongoDB. One of the them is by...
- tags: mongodb, node.js, expressjs, security
- :octocat: source code
Nosqlclient
Cross-platform and self hosted, easy to use, intuitive mongodb management tool - Formerly Mongoclient
- tags: mongodb, client
- :octocat: source code
idealo/mongodb-slow-operations-profiler
https://github.com/idealo/mongodb-slow-operations-profiler
This java web application collects and stores slow operations from one or more mongoDB system(s) in order to visualize and analyze them.
- tags: mongodb, performance, profiler
- :octocat: source code
Troubleshooting MongoDB 100% CPU load and slow queries
https://medium.com/@igorkhomenko/troubleshooting-mongodb-100-cpu-load-and-slow-queries-da622c6e1339
In this article I’m going to cover 3 main things:
- How to detect the queries that lead to CPU load spikes: solution N1
- How to detect the queries that lead to CPU load spikes: solution N2
- How to g...
- :calendar: published on: 2017-11-16
- tags: mongodb, troubleshooting, performance
Node - Exclude fields from select with Mongoose/MongoDB · Curtis Larson's Blog
https://www.curtismlarson.com/blog/2016/05/11/mongoose-mongodb-exclude-select-fields/
Individually ...
Fast paging with MongoDB
https://scalegrid.io/blog/fast-paging-with-mongodb/
Paging through your data is one of the most common operations with MongoDB. Let's walk through an example to see the ways of paging through data in MongoDB.
- :calendar: published on: 2014-11-20
- tags: mongodb, pagination
Using Clean Architecture for Microservice APIs in Node.js with MongoDB and Express - 33min
https://www.youtube.com/watch?v=CnailTcJV_U
In this video we talk about Bob Martin's Clean Architecture model and I will show you how we can apply it to a Microservice built in node.js with MongoDB and...
- :calendar: published on: 2019-04-22
- tags: node.js, clean-code, expressjs, mongodb
- :octocat: source code
Docker compose with Node.js and MongoDB - Hagai Kahana - Medium
https://medium.com/@kahana.hagai/docker-compose-with-node-js-and-mongodb-dbdadab5ce0a
This is the first of a series of posts trying to demonstrate real (simple) examples of deploying multi distributed applications across multiple platform and environments.
The purpose of this post is ...
- :calendar: published on: 2017-12-03
- tags: docker-compose, mongodb, node.js
- :octocat: source code
awesome-mongodb
https://github.com/ramnes/awesome-mongodb#readme
:leaves: A curated list of awesome MongoDB resources, libraries, tools and applications - ramnes/awesome-mongodb
- tags: awesome-list, database, mongodb
- :octocat: source code
mongoose - Does MongoDB's $in clause guarantee order - Stack Overflow
https://stackoverflow.com/questions/22797768/does-mongodbs-in-clause-guarantee-order
There are several options available - see the accepted response.
- :calendar: published on: 2014-04-20
- tags: mongodb
Build Reactive APIs with Spring WebFlux
https://developer.okta.com/blog/2018/09/24/reactive-apis-with-spring-webflux#secure-your-spring-webf...
You've heard that reactive programming can help you scale? But how do you implement it? Using Spring WebFlux, of course! This article shows you how.
- tags: reactive-programming, spring-webflux, mongodb, spring-security, openid-connect, websocket
- :octocat: source code
How do you rename a MongoDB database? - Stack Overflow
https://stackoverflow.com/questions/9201832/how-do-you-rename-a-mongodb-database
//copy the database
> db.copyDatabase("db_to_rename","db_renamed")
//drop the old database
> use db_to_rename
> db.dropDatabase();
- tags: mongodb
Generating Globally Unique Identifiers for Use with MongoDB
https://www.mongodb.com/blog/post/generating-globally-unique-identifiers-for-use-with-mongodb
By default, MongoDB generates a unique identifier that is assigned to the _id field in a new document before writing that document to the database. In many cases the default unique identifiers assig...
- tags: mongodb
Mongoose - SubDocuments
https://mongoosejs.com/docs/subdocs.html
Subdocuments are documents embedded in other documents. In Mongoose, this means you can nest schemas in other schemas. Mongoose has two distinct notions of subdocuments: arrays of subdocuments and sin...
Cleaner code in NodeJs with async-await - Mongoose calls example – CodepediaOrg
http://www.codepedia.org/ama/cleaner-code-in-nodejs-with-async-await-mongoose-calls-example
Example showing migration of Mongoose calls from previously using callbacks to using the new async-await feature in NodeJs
- :calendar: published on: 2017-11-05
- tags: node.js, async-await, mongoose, mongodb
- :octocat: source code
mongoose-unique-validator
https://github.com/blakehaswell/mongoose-unique-validator
mongoose-unique-validator is a plugin which adds pre-save validation for unique fields within a Mongoose schema.
This makes error handling much easier, since you will get a Mongoose validation error ...
- tags: node.js, mongoose, mongodb
- :octocat: source code
Docker Official Image packaging for MongoDB
https://github.com/docker-library/mongo
Docker Official Image packaging for MongoDB.
- tags: docker, mongodb
- :octocat: source code
Dockerizing a Node.js and MongoDB App – XOOR – Medium
https://medium.com/@xoor/dockerizing-a-node-js-and-mongodb-app-f9d80fdb280e
Docker has become an extremely popular tool not only among DevOps and Infrastructure people, but also for the daily work of any developer. Simple with examples for beginners.
- :calendar: published on: 2017-10-22
- tags: docker, mongodb, node.js, expressjs, docker-compose
- :octocat: source code
Using MongoDB as realtime DB with nodeJS. – Noteworthy - The Journal Blog
https://blog.usejournal.com/using-mongodb-as-realtime-db-with-nodejs-c6f52c266750
Have you ever run into a scenario where you wanted to update your UI as soon as there is some change to your Mongo database ? For example, A new user gets added and you wanted that change to reflect…
Deploy a MERN stack app on Heroku – Crowdbotics – Medium
https://medium.com/crowdbotics/deploy-a-mern-stack-app-on-heroku-b0c255744a70
In this article, I will describe how to take an existing Web Application that is build using MongoDB, ExpressJS, Node.js, and React (often called as MERN stack) on a deployment service like Heroku
- :calendar: published on: 2018-10-12
- tags: reactjs, mern, node.js, mongodb, expressjs
- :octocat: source code
A Node.js Perspective on MongoDB 4.0: Transactions
http://thecodebarbarian.com/a-node-js-perspective-on-mongodb-4-transactions.html
Transactions are undoubtedly the most important new feature in MongoDB 4.0. MongoDB has supported ACID for single document operations for many years, and denormalized data meant many apps didn't need ...
javascript - Mongoose Model.save() hangs when called from node.js app - Stack Overflow
https://stackoverflow.com/questions/12030371/mongoose-model-save-hangs-when-called-from-node-js-app
You haven't created a connection for Mongoose to use by default. Replace this: ...
MongoDB Node.js Driver
http://mongodb.github.io/node-mongodb-native/
The official MongoDB Node.js driver provides both callback-based and Promise-based interaction with MongoDB, allowing applications to take full advantage of the new features in ES6.
- tags: mongodb, node.js
- :octocat: source code
RESTful API In Node & Express With TypeScript & MongoDB - YouTube
https://www.youtube.com/watch?v=XqbBv1i9Yhc
This video covers writing a RESTful JSON API using Node, Express, MongoDB, Mongoose, and TypeScript. My other Node...
- :calendar: published on: 2017-07-03
- tags: node.js, expressjs, mongodb, mongoose, typescript
- :octocat: source code
GitHub - szokodiakos/typegoose: Typegoose - Define Mongoose models using TypeScript classes.
https://github.com/szokodiakos/typegoose
typegoose - Typegoose - Define Mongoose models using TypeScript classes.
- tags: mongoose, mongodb, node.js
- :octocat: source code
Common Async/Await Design Patterns in Node.js
http://thecodebarbarian.com/common-async-await-design-patterns-in-node.js.html
Retry, parallel request, mongodb cursor etc.
- :calendar: published on: 2017-03-15
- tags: node.js, async-await, mongodb
Multi-line input in Mongo shell (Example)
https://coderwall.com/p/rmbswq/multi-line-input-in-mongo-shell
A protip by jabclab about vim and mongo.
- tags: mongodb
Glossary — MongoDB Manual
https://docs.mongodb.com/manual/reference/glossary/
Find definition of database, collection, document, BSON etc.
MongoDB en español: T1, El principio
https://github.com/yograterol/ebook-mongodb-basico
Yohan Graterol
El pequeño libro MongoDB
https://github.com/uokesita/the-little-mongodb-book
Practical MongoDB shell commands every developer should know
http://www.codepedia.org/ama/practical-mongodb-shell-commands-every-developer-should-know
Practical mongo shell commands.
- :calendar: published on: 2016-10-10
- tags: mongodb
- :octocat: source code
mongo Shell Quick Reference — MongoDB Manual
https://docs.mongodb.com/manual/reference/mongo-shell/
On this page: mongo Shell Command History; Command Line Options; Command Helpers; Basic Shell JavaScript Operations; Keyboard Shortcuts; Queries; Error Checking Methods; Administrative Command Helper...
- tags: mongodb
FAQ: Indexes — MongoDB Manual
https://docs.mongodb.com/manual/faq/indexes/
This document addresses some common questions regarding MongoDB indexes.
Query Optimization — MongoDB Manual
https://docs.mongodb.com/manual/core/query-optimization/
- tags: mongodb
33rd Degree 2014 - MongoDB Schema Design - Tugdual Grall - YouTube [47']
https://www.youtube.com/watch?v=csKBT8zkRf0
MongoDB's basic unit of storage is a document. Documents can represent rich, schema-free data structures, meaning that we have several viable alternatives to the normalized, relational model. In this ...
- :calendar: published on: 2014-09-29
- tags: mongodb, database-design, data-modeling
Optimizing MongoDB Compound Indexes
https://emptysqua.re/blog/optimizing-mongodb-compound-indexes/
Everything you need/have to know about indexes
- tags: mongodb
simple voting system with MongoDB - Stack Overflow
http://stackoverflow.com/questions/12339233/simple-voting-system-with-mongodb
For that reason I would add an array "votes" to each article which includes an object for each vote which uniquely identifies the user who made it:
...
- tags: mongodb
MongoDB Hosting: Database-as-a-Service by mLab
Use sandbox plans which are free and are ideal for learning, developing, and prototyping. Expert database support is included.
Security Checklist — MongoDB Manual
https://docs.mongodb.com/manual/administration/security-checklist/
This documents provides a list of security measures that you should implement to protect your MongoDB installation.
The MongoDB Manual
https://docs.mongodb.com/manual/
The Manual introduces key concepts in MongoDB, presents the query language, and provides operational and administrative considerations and procedures as well as a comprehensive reference section.
- tags: mongodb