hello.js

var please = require('share');
console.log('thank you');

Monday, 2 July, 2018 UTC

[Course] node: JSON Web Token (JWT) Authentication with Node.js

[Course] node: JSON Web Token (JWT) Authentication with Node.js

JSON Web Token (JWT) is a low overhead option for authentication that is easy to implement and scales with your application. There is no need to store session data as everything you need is stored in an encoded string sent in the JWT, significantly reducing ... more


Monday, 2 July, 2018 UTC

[Course] node: JSON Web Token (JWT) Authentication with Node.js and Auth0

[Course] node: JSON Web Token (JWT) Authentication with Node.js and Auth0

JSON Web Token (JWT) is a low overhead option for authentication that is easy to implement and scales with your application. There is no need to store session data as everything you need is stored in an encoded string sent in the JWT, significantly reducing ... more


Saturday, 23 June, 2018 UTC

javascript: await keyword in es2016

javascript: await keyword in es2016

In this lesson, we get an introductory look at the await keyword. We will start with a problem statement of making three network calls one after the other and provide a solution using promises. We will then upgrade the example to use the new await keyword. ... more


Tuesday, 19 June, 2018 UTC

vue: Getting Started With Storybook for Vue

vue: Getting Started With Storybook for Vue

In this lesson we'll go through the process of setting up Storybook for Vue. We'll use Vue CLI to create a new Vue application and Storybook CLI to setup some initial stories and config. Storybook can help you develop UI components in an isolated area ... more


Friday, 15 June, 2018 UTC

[Course] express: Integrate IBM Domino with Node.js

[Course] express: Integrate IBM Domino with Node.js

While this course is for IBM Domino Developers who are looking to utilize Node.js alongside their applications, or Javascript developers looking to integrate with a Domino server. There are quite a few tips and tricks you can learn for integrating Node.js ... more


Thursday, 14 June, 2018 UTC

[Course] graphql: Build GraphQL APIs with Node.js on MongoDB

[Course] graphql: Build GraphQL APIs with Node.js on MongoDB

GraphQL is a new API standard built by Facebook and designed to be an efficient, robust, and flexible alternative to REST. In REST, the server defines the shape and size of the resource provided by an endpoint. Often this means multiple requests to the ... more


Thursday, 14 June, 2018 UTC

express: Google Authentication with Node.js, Express, and Passport

express: Google Authentication with Node.js, Express, and Passport

In this lesson, you will learn how to authenticate user with passport. Passport provides a google strategy to authenticate with google.The Google strategy allows users to sign in to a web application using their Google account ... more


Wednesday, 13 June, 2018 UTC

vue: Declaratively Render text in Vue

vue: Declaratively Render text in Vue

At the core of Vue.js is a system that enables us to declaratively render data to the DOM. The data and the DOM are linked, and everything is reactive in Vue. In this lesson, I will show you how to use **v-bind:title** directive in Vue ... more


Tuesday, 12 June, 2018 UTC

ionic: Create Icons in Any Project with the IonIcon library

ionic: Create Icons in Any Project with the IonIcon library

Learn how to use the IonIcon library in a non-Ionic web app or web page. IonIcons are now based on web components, or more specifically the Custom Element, and can be easily used in any web project. ... more


Friday, 8 June, 2018 UTC

express: Send an Email in Nodejs

express: Send an Email in Nodejs

In this lesson, you will learn how to send email in Nodejs using Nodemailer. Nodemailer is a module for Node.js applications to allow easy as cake email sending. ... more


Friday, 8 June, 2018 UTC

express: Github Authentication with Nodejs, Express, and Passport

express: Github Authentication with Nodejs, Express, and Passport

In this lesson, you will learn how to authenticate Node.js application using passport-github strategy .Passport-github is a strategy for authenticating with GitHub using the OAuth 2.0 API. I will also teach you how to save Github profile information to ... more


Thursday, 7 June, 2018 UTC

express: Create Local SSL Certificates for an Express App on Windows

express: Create Local SSL Certificates for an Express App on Windows

To replicate your production application its helpful when developing a local NodeJS Express application is running under SSL. There are some web technologies which do not play nicely with standard http and its likely to become more common e.g. Web Push ... more


Thursday, 7 June, 2018 UTC

react: Create and import React components with Markdown using MDXC

react: Create and import React components with Markdown using MDXC

In this lesson I demonstrate how to use the library MDXC to create and import React components with Markdown. MDXC converts markdown into JavaScript and supports JSX. *Additional Resources:* https://github.com/jamesknelson/mdxc ... more


Tuesday, 5 June, 2018 UTC

react-native: Add a Custom Font to a React Native Application

react-native: Add a Custom Font to a React Native Application

iOS and Android come with several built in fonts, but if you want to use a custom font in your react native application, you'll need to add it first. You can add a custom font by copying the font files to your project, telling react native where to find ... more


Saturday, 2 June, 2018 UTC

express: Generate PDF Files in Node.js with express-pdf Middleware

express: Generate PDF Files in Node.js with express-pdf Middleware

In this lesson, you are going to learn how to generate pdf file using html-pdf, express-pdf, and phantom-prebuilt. express-pdf is an Express middleware built upon html-pdf which, in turn, relies on PhantomJS. PhantomJS is a headless WebKit scriptable ... more


Saturday, 2 June, 2018 UTC

javascript: The difference between the Spread and Rest syntax

javascript: The difference between the Spread and Rest syntax

In this lesson I cover the difference between the Spread and Rest syntax using an array of animals as an example. Spread is used to expand a list of items into an array or object and Rest is often used to help deal with function arguments, but can be ... more


Wednesday, 23 May, 2018 UTC

express: Twitter Authentication with Node.js, Express and Passport

express: Twitter Authentication with Node.js, Express and Passport

In this lesson, I will teach you how to authenticate user using passport-twitter strategy and save the twitter profile in the MongoDB. ... more


Tuesday, 22 May, 2018 UTC

express: User Login with Nodejs, Express and MongoDB

express: User Login with Nodejs, Express and MongoDB

In this lesson, You will learn how to find record from MongoDB and compare the user password with plain text password. I will also teach you how to generate a json web token by using user payload object. ... more


Tuesday, 22 May, 2018 UTC

express: User Registration with Nodejs, Express, and MongoDB

express: User Registration with Nodejs, Express, and MongoDB

In this lesson, you will learn how to implement user registration for JSON Web Token authentication. I will show you how to save record in MongoDB using mongoose package. You will also learn how to encrypt the user's password. ... more


Monday, 21 May, 2018 UTC

express: JSON Web Token Authentication with Nodejs, Express, and Passport

express: JSON Web Token Authentication with Nodejs, Express, and Passport

Passport is authentication middleware for Node.js. Extremely flexible and modular, Passport can be unobtrusively dropped in to any Express-based web application. Passport-jwt is a passport strategy for authenticating with a JSON Web Token. This module ... more


Monday, 21 May, 2018 UTC

javascript: Understand common misconceptions about ES6's const keyword

javascript: Understand common misconceptions about ES6's const keyword

Values assigned with `let` and `const` are seen everywhere in JavaScript. It's become common to hear them explained like so: > "`const` creates an constant (immutable) binding while bindings created with `let` can be changed (mutated) without ... more


Tuesday, 15 May, 2018 UTC

javascript: Create your own snippets in Visual studio code

javascript: Create your own snippets in Visual studio code

In this lesson, we will take a look at the `user snippets` feature of Visual studio code to expedite our workflow. User snippets are also a great way to customize the editor to your liking and add custom snippets that you wished were there out-of-the-box. ... more


Monday, 14 May, 2018 UTC

javascript: Async keyword in es2016

javascript: Async keyword in es2016

The async keyword is a syntactic sugar and a powerful tool to simply our asynchronous code. In this lesson we will look at how we can leverage the new `async` keyword to write clean and consistent code. Also, we will contrast and compare it with functions ... more


Monday, 14 May, 2018 UTC

javascript: Destructuring Simple and Nested Objects in JavaScript

javascript: Destructuring Simple and Nested Objects in JavaScript

In this lesson, we will dive into Destructuring objects. Destructuring is a convenient way of extracting multiple values from data stored in (possibly nested) objects and Arrays. It can be used in locations that receive data (such as the left-hand side ... more


Sunday, 13 May, 2018 UTC

[Course] vue: Build Async Vue.js Apps with RxJS

[Course] vue: Build Async Vue.js Apps with RxJS

Vue.js is an amazing framework that can easily update and reflect user input using templates and data-binding. But there are many scenarios where complex asynchronous behaviors (like loading data, handling "pending" states, timeouts, etc) are ... more


Saturday, 12 May, 2018 UTC

[Course] vue: Offline-First Progressive Web Apps (PWA) in Vue.js

[Course] vue: Offline-First Progressive Web Apps (PWA) in Vue.js

Progressive Web Apps are just Web pages, but with superpowers. They load under uncertain network conditions, even offline. They’re fast and engaging, providing the best user experience. They can be installed on your smartphone if the browser supports ... more


Thursday, 10 May, 2018 UTC

javascript: Maintain Readability for Conditional Assignments with JavaScript IIFEs

javascript: Maintain Readability for Conditional Assignments with JavaScript IIFEs

This lesson will show you how you can use Immediately Invoked Function Expressions (IIFE's) to make conditional assignments more readable and robust ... more


Thursday, 10 May, 2018 UTC

typescript: Getting Started with TypeORM and MySQL

typescript: Getting Started with TypeORM and MySQL

TypeORM is an Object Relational Mapper (ORM) for Node.js written in TypeScript that can be used with TypeScript or JavaScript (ES5, ES6, ES7). It support latest JavaScript features and provide features that help you to develop any kind of applications ... more


Thursday, 10 May, 2018 UTC

node: Setup Local Configuration with Node.js Applications

node: Setup Local Configuration with Node.js Applications

To stop having to change configuration settings in production code and to stop secure information like usernames and password being stored in source control its a good idea to use local configuration files. This lesson explains how to read in the local ... more


Wednesday, 9 May, 2018 UTC

asp-net: Expose Values for Real-time Consumption with SignalR in ASP.NET Core

asp-net: Expose Values for Real-time Consumption with SignalR in ASP.NET Core

If you want to improve a REST API beyond GET/POST&PUT and DELETE the next step would be adding the push functionality to send new data into your web applications. With ASP.NET Core and SignalR you can add this functionality with ease and keep your ... more