Using Flask on a Raspberry Pi with MongoDB (Part 2)

Introduction This is part two of an article series on how to make a Flask and MongoDB web application, for development purposes, on a Raspberry Pi single board computer as a local web server for your backend data. In the last part we covered how to SSH into the Pi device, as well as install … Continued

Using Flask on a Raspberry Pi with MongoDB (Part 1)

Introduction In this article series, we’ll show you how to set up a Flask web app, written in Python, on a Raspberry Pi. Our app will be using MongoDB as its backend database. This first installment of the series will cover the initial setup and configuration needed for Flask, Raspberry Pi and MongoDB. By the … Continued

Auto Increment Sequence in MongoDB

Introduction If you’re accustomed to working with SQL databases, you’ve probably had some experience with auto-increment sequences. This functionality automatically generates a unique value when a new row is added to a table. Although auto-increment functionality isn’t built into MongoDB, it’s possible to achieve the same results with a simple alternative. In this article, we’ll … Continued

How to use mongoose to find by id and update with an example

Introduction In this quick tutorial we will demo how to use mongoose to find by id and update with an example. The update operation is one of the CRUD operations that is used to update data in a database. Out of all the CRUD operations, the update operation should be performed very carefully. You see, … Continued

How to use NodeJs mongoose to find the object ID

Introduction Read operation is one of the CRUD operations that can be performed on a database. Mongoose provides a few methods to read the data from a database. Each method has its own specialty. We can use these methods according to our requirements. One of these methods is the findById() method. As the name suggests, … Continued

How to Perform a Node Js MongoDB Select Query

Introduction Right up-front we want to let you know that there is no select query in MongoDB. The select query is used in SQL based systems but there is an equivalent in MongoDB which we will introduce you to. How to Perform the Equivalent of a SQL Select Query with NodeJS and MongoDB Almost all … Continued

Use mongoose to find in an Array of Objects

Introduction In this tutorial we will discuss how to use mongoose to find in an array of objects. Searching in an Array of Objects In the programming world, arrays are one of the most widely used data structures. Arrays are used on both client-side and server-side. They are heavily used in NoSQL databases also. In … Continued

The Mongoose and NodeJs History

Introduction In this article we hope to explain some of the history behind NodeJS, MongoDB, Mongoose, and how they became a common architecture among web developers. Birth of NodeJS Javascript is one of the most popular programming languages in this world. It is one of the three core technologies of the World Wide Web(WWW). When … Continued

Node Js with MongoDB Query Examples for Developers

Introduction In this tutorial our hope is to demonstrate some basic query examples. Specifically we want to demo Node Js with MongoDB query examples that can be used as a starting point for understanding more complex queries. Let’s jump in! MongoDB provides several methods that can be used with collections. Almost each of these methods … Continued

Keep in the know!

Subscribe to our emails and we’ll let you know what’s going on at ObjectRocket. We hate spam and make it easy to unsubscribe.