Node JS

dotenv package – Environment Variables in Node JS App

Environment variables are used to keep the secret keys safe. While creating a Node JS app, we may need many keys/ passwords and other... Read more »

lodash package in Node JS

Lodash is a wonderful javascript library that makes it easier to work with arrays, strings, objects numbers etc. Lodash’s modular methods are great for:... Read more »

Todo List Project Code – Node, Express, EJS

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 Short usage in Javascript

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 »

Exporting Multiple Functions using module.exports in JS

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 in Javascript – Node JS, Express

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 »

How to print module details in Node JS

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 »

Node Express JS App Boiler Plate Code

Boilerplate code for easily getting started with a new express js project. Here is the sample code you can use for the app.js, the... Read more »

New Node JS Project Setup – Terminal Commands

Firstly open the terminal and go to our folder location. Create folder: eg: mkdir FruitsProject Move inside the folder using, cd FruitsProject Create entry... Read more »

Weather App JS Project – Full Code

Weather App project is a simple project for using weather API. This app is build using Express JS for learning beginners exploring APIs. This... Read more »