mongoose Tutorial

Introduction Mongoose is an Object Modeling Library(ODM). It is heavily used with nodejs when MongoDB is there. One main advantage is that it provides abstraction. MongoDB is schema-less but with mongoose, the developers can define a schema. It overcame the one main problem. Moreover, MongoDB methods can easily be used in mongoose. Another important feature … Continued

Easy to follow mongoose example with NodeJS

Introduction In this article, we will discuss an easy to following mongoose example with NodeJS. We will create four API endpoints in NodeJS and mongoose, each of them performing certain CRUD operations on a MongoDB database. Setup connection So let’s start by setting up a server and a connection with the MongoDB database. 123456789101112131415161718var mongoose … Continued

How to use express with mongoose

Introduction Express is an important part of web application development stacks such as MEAN and MERN stack. Developing web applications is not an easy task. Backend is an important part of every web application. The backend is the connectivity to databases and it also holds APIs that interact with the databases. One important part of … Continued

NodeJs and PostgreSQL CRUD Example Application (Part 3)

NodeJs and PostgreSQL CRUD example introduction Welcome to the last lesson in the multiple-series tutorial, “NodeJs and PostgreSQL CRUD Example Application (Part 3).” In Parts 1 and 2, you learned how to get started with the application. As you built it, you utilized the JavaScript embedded templates (EJS) module to create HTML from the js … Continued

NodeJs and PostgreSQL CRUD Example Application (Part 2)

NodeJs and PostgreSQL CRUD Example Introduction Welcome to “NodeJs and PostgreSQL CRUD Example Application (Part 2),” a tutorial multiple-series. In this lesson, you’ll learn how to add the required folder subdirectories and files to structure the layout for your NodeJs PostgreSQL CRUD example. You’ll also discover how to incorporate embedded JavaScript template (EJS) functionality into … 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.