Bookmarks tagged [mongodb]
https://www.youtube.com/watch?v=ZS_kXvOeQ5Y
SQL or NoSQL? MySQL vs MongoDB? Which database is better? Which one should you use?
- tags: mongodb
Infrastructure, Instantly
- tags: mongodb
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
- source code
Cross-platform and self hosted, easy to use, intuitive mongodb management tool - Formerly Mongoclient
- tags: mongodb, client
- source code
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
- source code
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...
- 📆 published on: 2017-11-16
- tags: mongodb, troubleshooting, performance
https://www.curtismlarson.com/blog/2016/05/11/mongoose-mongodb-exclude-select-fields/
Individually ...
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.
- 📆 published on: 2014-11-20
- tags: mongodb, pagination
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...
- 📆 published on: 2019-04-22
- tags: node.js, clean-code, expressjs, mongodb
- source code
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 ...
- 📆 published on: 2017-12-03
- tags: docker-compose, mongodb, node.js
- source code
https://github.com/ramnes/awesome-mongodb#readme
🍃 A curated list of awesome MongoDB resources, libraries, tools and applications - ramnes/awesome-mongodb
- tags: awesome-list, database, mongodb
- source code
https://stackoverflow.com/questions/22797768/does-mongodbs-in-clause-guarantee-order
There are several options available - see the accepted response.
- 📆 published on: 2014-04-20
- tags: mongodb
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
- source code
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
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
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...
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
- 📆 published on: 2017-11-05
- tags: node.js, async-await, mongoose, mongodb
- source code
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
- source code
https://github.com/docker-library/mongo
Docker Official Image packaging for MongoDB.
- tags: docker, mongodb
- source code
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.
- 📆 published on: 2017-10-22
- tags: docker, mongodb, node.js, expressjs, docker-compose
- source code
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…
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
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 ...
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: ...
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
- source code
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...
- 📆 published on: 2017-07-03
- tags: node.js, expressjs, mongodb, mongoose, typescript
- source code
https://github.com/szokodiakos/typegoose
typegoose - Typegoose - Define Mongoose models using TypeScript classes.
- tags: mongoose, mongodb, node.js
- source code
http://thecodebarbarian.com/common-async-await-design-patterns-in-node.js.html
Retry, parallel request, mongodb cursor etc.
- 📆 published on: 2017-03-15
- tags: node.js, async-await, mongodb
https://coderwall.com/p/rmbswq/multi-line-input-in-mongo-shell
A protip by jabclab about vim and mongo.
- tags: mongodb
https://docs.mongodb.com/manual/reference/glossary/
Find definition of database, collection, document, BSON etc.
https://github.com/yograterol/ebook-mongodb-basico
Yohan Graterol
https://github.com/uokesita/the-little-mongodb-book
http://www.codepedia.org/ama/practical-mongodb-shell-commands-every-developer-should-know
Practical mongo shell commands.
- 📆 published on: 2016-10-10
- tags: mongodb
- source code
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
https://docs.mongodb.com/manual/faq/indexes/
This document addresses some common questions regarding MongoDB indexes.
https://docs.mongodb.com/manual/core/query-optimization/
- tags: mongodb
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 ...
- 📆 published on: 2014-09-29
- tags: mongodb, database-design, data-modeling
https://emptysqua.re/blog/optimizing-mongodb-compound-indexes/
Everything you need/have to know about indexes
- tags: mongodb
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
Use sandbox plans which are free and are ideal for learning, developing, and prototyping. Expert database support is included.
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.
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