Price comparison APP – an overview Last week I tried using a price comparison app module as a part of my application. I could find three APIs for this purpose. I went through all those APIs. So this post is a brief review of the API’s which are available for price comparison. Price comparison APP […]

Read More →

A simple solution for file upload in hapi.js. Here we will show you how to upload and download the file of any extension in a very simple manner. Hapi file upload download repo link If the payload is ‘multipart/form-data’ and parse is true, fields values are presented as text while files are provided as streams. […]

Read More →

You must have tried with downloading data in CSV using GET request from UI and used Node.js as backend. How are you going to download the same data in csv using POST request from UI ? ( there’s some scenario where you need to consume some data from UI and rest from backend code ) Topics […]

Read More →

The most efficient way to build an application or enterprise website is by using a framework. A framework is a set of predefined codes, modules or features that allow designers and developers to quickly and easily integrate features into their projects. Instead of coding tons of duplicated features, developers simply use a framework that has […]

Read More →

In Previous post we talked about how to CRUD node.js application using Hapi.js framework, Mongodb DB and Angular.js https://www.cronj.com/blog/hapi-mongoose/ It’s highly recommended to look into previous post to understand this in better way. Here we will learn how to implement token based user authentication. Repo Link: https://github.com/Cron-J/JWT-Hapi-Mongoose-Mongodb-with-email-verification-and-forgot-password User Story 1. Register new user. Registration requires […]

Read More →

A new way to work with Hapi, MongoDB, Mongoose, Angular. Hapi js is a basic framework for building a REST API in Node.js. Hapi was created by Walmart Labs.   Here we will learn how to perform basic CRUD in Hapi.js, and in the next blog, we will learn to implement token based user authentication … click here […]

Read More →

Language-list, like the UnitofMeasure we spoke about in our last blog, is a directive that is installed and handled by the Node Package Manager. In this particular case, it is used to Map Stores ISO 639-1 language codes to language names and vice versa. example var languages = require(‘language-list’)(); console.log(languages.getLanguageName(‘bh’)); // Bihari console.log(languages.getLanguageCode(‘Bihari’)); // bh methods Usage: […]

Read More →