Author: smartcoder
Data validation in MongoDB App can be easily done using the mongoose. Here is some sample validation examples: Marking Required field in MongoDB using...
Read more »

If we need to build Node JS apps using databases, then MongoDB is definitely a good option. MongoDB is a no-SQL database. For integrating...
Read more »

Intiate the db, by mongod Open new bash terminal and enter command mongo Now we can start using the mongo shell, just try the...
Read more »

Mongo DB is one of the most popular noSQL database. In this post we gonna setup MongoDB in a windows machine. Firstly goto Mongo...
Read more »

In git we can create branches as per our project development. We can easily do that using terminal command. We can directly create new...
Read more »

We are creating a sample to-do list app using Node and Express JS. The templating for the app is done using Embedded Javascript (EJS)....
Read more »

module.exports is mainly used for exporting functions or data from a Module. It is basically done using module.exports keyword. This can be now shortened...
Read more »

module.exports is a javascript function created by the module system. It can be used to export function in a Module. Earlier we had discussed...
Read more »

Module.exports is used with creating new module in javascript. Certain functionality of the app can be moved to a separate module. And it can...
Read more »

Module details can be logged using some code in the node app. Here is the code to log the module details in the console....
Read more »