Author: smartcoder

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 »

var, let , const in Javascript – Scope of Variables

var, let and const are used to store values. The scope these data types are little different. So we gonna check that out in... Read more »

EJS Templating – Sample Express Task Listing App

In this post we gonna learn basics of EJS templating for Express JS App. We gonna code a task listing app for the current... Read more »

Display Current Day Name in Javascript – Node, Express, EJS

Print present day's name like Sunday, Monday in javascript app. Display the day name from the date library. In this post we also share... Read more »

Using EJS with Express – Installation, Boilerplate Code

EJS refers to Embedded Javascript. It is basically used for templating the javascript app. In this post, we gonna check out the basic express... 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 »

Master Branch and Side Branch in Git

In git, there can be many branches. Master Branch is the main branch in git. It's kept safe without breaking. New experiments and testing... Read more »

Lifecycle Methods of Flutter Stateful Widgets

Unlike stateless widgets, the stateful widget is more complex and has more lifecycle methods. In this case of a stateful widget, the state object... Read more »

Create JSON Data for POST request in Express

JSON refers to the JavaScript Object Notation. Data can be transferred over HTTPS as JSON. For this process firstly we need to convert our... Read more »