<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by BlueEast on Medium]]></title>
        <description><![CDATA[Stories by BlueEast on Medium]]></description>
        <link>https://medium.com/@blueeast?source=rss-77185c323c82------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mRgZvxiAxeXAdqEHiANJ6A.png</url>
            <title>Stories by BlueEast on Medium</title>
            <link>https://medium.com/@blueeast?source=rss-77185c323c82------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 08:49:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@blueeast/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Build CLI Tool in Node.js]]></title>
            <link>https://medium.com/blueeast/how-to-build-cli-tool-in-node-js-735d35a42a58?source=rss-77185c323c82------2</link>
            <guid isPermaLink="false">https://medium.com/p/735d35a42a58</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[cli]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[BlueEast]]></dc:creator>
            <pubDate>Fri, 09 Nov 2018 10:09:57 GMT</pubDate>
            <atom:updated>2018-11-09T10:20:00.726Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0-Nv88G-y3zO6fqPiEs0kA.png" /><figcaption>Building CLI tool in NodeJs</figcaption></figure><p>CLI (Command-line interface) is the most common way to run a program in a terminal. As a software engineer, you’ll come across different CLIs every day namely git, Docker &amp; npm etc.</p><p>Today we’ll be sharing a few helpful packages &amp; our knowledge on building CLIs using Node.js.</p><p><strong><em>Our ultimate goal would be to have something similar to the one shown below:-</em></strong></p><pre>npm install -g bluerain<br>bluerain</pre><h3>npm setup</h3><p>First of all, you want to make sure that you have a proper npm configuration and folder structure.</p><p><strong>bin/index.js</strong>:</p><pre>#<strong>!</strong>/usr/bin/env node<br>//execute the code of cli here e.g<br>console.log(&#39;Welcome to bluerain cli tool&#39;);</pre><p>The snippet above should look very simple — all we need is the main file (or entry point) of the app.</p><h3><strong>package.json</strong>:</h3><pre>{</pre><pre>&quot;name&quot;: &quot;bluerain-cli&quot;,</pre><pre>&quot;version&quot;: &quot;0.1.2&quot;,</pre><pre>&quot;main&quot;: &quot;bin/index.js&quot;,</pre><pre>&quot;bin&quot;: {</pre><pre>&quot;bluerain&quot;: &quot;bin/index.js&quot;</pre><pre>},</pre><pre>}</pre><p><em>Important things in the package.json are the following:-</em></p><ul><li>name: for naming in npm ecosystem.</li><li>version: upon alteration of your program, you’ll have to update its version and publish it.</li><li>main: denotes an entry point.</li><li>bin.bluerain: should direct to our bin/index.js file. Also, this name is going to be utilized after the installation as a terminal command for the program.</li></ul><p>The bin in <strong>package.json</strong> is also important to understand. In the bin, object key is denoted as the name of our cli tool and value is the path of the file to be run when bluerain is entered in terminal. The code present in bin/index.js will be executed as node bin/index.js command when bluerain is entered in the terminal.</p><p>Inquirer package can be employed for common interactive command line user interfaces. <a href="https://github.com/SBoudrias/Inquirer.js/">https://github.com/SBoudrias/Inquirer.js/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=735d35a42a58" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blueeast/how-to-build-cli-tool-in-node-js-735d35a42a58">How to Build CLI Tool in Node.js</a> was originally published in <a href="https://medium.com/blueeast">BlueEast</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Migrating from Mocha to Jest in nodeJS (loopback) app]]></title>
            <link>https://medium.com/blueeast/migrating-from-mocha-to-jest-in-nodejs-loopback-app-2d91b48b87fc?source=rss-77185c323c82------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d91b48b87fc</guid>
            <category><![CDATA[mocha]]></category>
            <category><![CDATA[unit-testing]]></category>
            <category><![CDATA[jest]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[BlueEast]]></dc:creator>
            <pubDate>Fri, 19 Oct 2018 06:41:23 GMT</pubDate>
            <atom:updated>2018-10-19T09:39:05.180Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*-oA_SdpYfoHR3IUyK6kRSw.jpeg" /></figure><p>In order to change the tests to Jest from Mocha, follow this simple procedure:-</p><h4>Mocha requires the following libraries:</h4><p>· Chai(let chai = require(‘chai’))</p><p>· chaiHttp (let chaiHttp = require(‘chai-http’))</p><p>· should (let should = chai.should())</p><p>· expect (const expect = require(‘chai’).expect )</p><p><strong>Now, replace all the above by the following to achieve the same functionality:</strong></p><p>· expect (const expect = require(‘expect’))</p><p>· request (const request = require(‘request’))</p><p><strong>From the coding point of view, following changes should be done:</strong></p><p>1. “Should” is substituted with “Expect”</p><p>2. “Equal” is supplanted by “toBe”</p><p><strong>Configurational Changes:</strong></p><p>Jest follows “<em>convention over configuration</em>” standard and requires little effort to set-up.</p><p>All you have to do is install Jest npm package and change “test” command in package.json to “jest”.</p><p>At this point, there is no need to specify which tests to run, Jest will trace them automatically as long as we comply to the convention of suffixing test file names with .test.js.</p><p>You can execute ES6, ES7, ES8, or ESWTF code simply by installing another npm module, <a href="https://www.npmjs.com/package/babel-jest">babel-jest</a>.</p><p>Jest will itself find the existing <em>.babaelrc </em>and you’ll be good to go.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d91b48b87fc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blueeast/migrating-from-mocha-to-jest-in-nodejs-loopback-app-2d91b48b87fc">Migrating from Mocha to Jest in nodeJS (loopback) app</a> was originally published in <a href="https://medium.com/blueeast">BlueEast</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Changing a Multicolor SVG icon of type .svg into react component using MaterialUI SvgIcon Component]]></title>
            <link>https://medium.com/blueeast/changing-a-multicolor-svg-icon-of-type-svg-into-react-component-using-materialui-svgicon-component-d7958026ef9?source=rss-77185c323c82------2</link>
            <guid isPermaLink="false">https://medium.com/p/d7958026ef9</guid>
            <category><![CDATA[components]]></category>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[svg]]></category>
            <category><![CDATA[icons]]></category>
            <dc:creator><![CDATA[BlueEast]]></dc:creator>
            <pubDate>Fri, 12 Oct 2018 09:38:55 GMT</pubDate>
            <atom:updated>2018-10-12T09:41:15.099Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Changing a Multicolor SVG icon of type .svg into react component using MaterialUI SvgIcon Component</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hRhKg2uwAzqY92HHjVpUwA.png" /><figcaption>Converting Multicolor SVG icon into react component using MaterialUI SvgIcon Component</figcaption></figure><p><strong>Just Follow This Simple Procedure</strong></p><p>Import the SvgIcon from materialUi and react from react. Then reach to your Svg’s code (open your svg in any code editor). Now, look for viewBox property in it, copy its value and pass viewBox props to SvgIcon (component from materialUi) with the recently copied value. Now you have to copy the svg’s code from &lt;g&gt; tag to its closing tag and place it inside &lt;SvgIcon&gt;&lt;SvgIcon/&gt; of your ReactJS file. Give every path style props and add all related css properties (In react inline styling format) given in your svg file’s code.</p><p>Voila, you have your react component.</p><ul><li><em>If it is a single color svg icon then it should incorporate only one &lt;path&gt; inside your svg’s code. Assign it the CSS properties (In react inline styling format).</em></li></ul><h4>Here’s How You Convert a Multicolor svg icon into ReactJS Component</h4><ol><li>Copy the highlighted attributes from your .svg file.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*1XisNN0r-mBxUQc99lgW9A.png" /></figure><p>2. Develop the component in .js file using the copied attributes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*0akhdMp_NFi0inxtMqDqqg.png" /></figure><p>3. Replace class with style props.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*EYIjW8qSq_v3bJ1ZNptftQ.png" /></figure><p>Your component is now ready to be used.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d7958026ef9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blueeast/changing-a-multicolor-svg-icon-of-type-svg-into-react-component-using-materialui-svgicon-component-d7958026ef9">Changing a Multicolor SVG icon of type .svg into react component using MaterialUI SvgIcon Component</a> was originally published in <a href="https://medium.com/blueeast">BlueEast</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Remove Flow Issues in Node Modules?]]></title>
            <link>https://medium.com/blueeast/how-to-remove-flow-issues-in-node-modules-db8a956c4cde?source=rss-77185c323c82------2</link>
            <guid isPermaLink="false">https://medium.com/p/db8a956c4cde</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[loopback]]></category>
            <category><![CDATA[flowtype]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[flow]]></category>
            <dc:creator><![CDATA[BlueEast]]></dc:creator>
            <pubDate>Fri, 05 Oct 2018 13:09:46 GMT</pubDate>
            <atom:updated>2018-10-05T13:22:46.720Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-8kIoJKyDn-j1WPgfTvmew.jpeg" /><figcaption>Removing Flow Issues in Node Module</figcaption></figure><p>During the run flow command, flow issues are commonly faced in node modules. An error similar to the following may occur:-</p><pre>Errors<br>Error: node_modules/bcryptjs/src/bower.json:4<br>4: “version”: /*?== VERSION */,<br>^ Unexpected token ,<br>Error: node_modules/strong-globalize/test/fixtures/extract013/intl/en/messages.json:2<br>2: “msgPredefined”: “This is a predefined message in a broken json</pre><pre>^ Unexpected token ILLEGAL<br>Found 42 errors<br>npm ERR! code ELIFECYCLE<br>npm ERR! errno 2<br>npm ERR! projectabc@1.0.0 flow: `flow`<br>npm ERR! Exit status 2<br>npm ERR! <br>npm ERR! Failed at the projectabc@1.0.0 flow script.<br>npm ERR! This is probably not a problem with npm. There is likely additional logging output above.</pre><pre>npm ERR! A complete log of this run can be found in:<br>npm ERR! /home/developer123/.npm/_logs/2017–10–31T06_14_39_009Z-debug.log</pre><h4>Step-by-Step Guide to Remove Flow Issues:</h4><p>Following steps are involved to remove flow issues:</p><ol><li>Create .flowconfig in project root folder in case if it is not already created.</li><li>Open .flowconfig file and write the below stated code.</li></ol><pre>[ignore]</pre><pre>.*/node_modules/*</pre><pre>[include]</pre><pre>[libs]</pre><pre>[lints]</pre><pre>[options]</pre><p>Applying this code will ignore flow errors from the node modules.</p><p>After code application, run <strong>npm run flow. </strong>At this point<strong>, </strong>it will show new errors similar to what you will receive in the scenario if you have imported any node module in your project.</p><p><em>Here, you’ll encounter this type of an error:-</em></p><pre><strong>require modules</strong></pre><pre>Launching Flow server for /var/www/projectabc/projectabc-api-server<br>Spawned flow server (pid=6247)<br>Logs will go to /tmp/flow/zSvarzSwwwzSprojectabczSprojectabc-api-server.log<br>Error: test/attribute.test.js:4<br> 4: const chai = require(&#39;chai&#39;);<br> ^^^^^^ chai. Required module not found</pre><pre>Error: test/attribute.test.js:5<br> 5: const mocha = require(&#39;mocha&#39;);<br> ^^^^^^^ mocha. Required module not found</pre><pre>Error: test/attribute.test.js:6<br> 6: const chaiHttp = require(&#39;chai-http&#39;);<br> ^^^^^^^^^^^ chai-http. Required module not found</pre><pre>Found 24 errors<br>npm ERR! code ELIFECYCLE<br>npm ERR! errno 2<br>npm ERR! projectabc flow: `flow`<br>npm ERR! Exit status 2<br>npm ERR! <br>npm ERR! Failed at the projectabc@1.0.0 flow script.<br>npm ERR! This is probably not a problem with npm. There is likely additional logging output above.</pre><pre>npm ERR! A complete log of this run can be found in:<br>npm ERR! /home/developer123/.npm/_logs/2017-10-31T06_16_25_402Z-debug.log</pre><p><strong>To remove these errors, follow the these steps.</strong></p><h4>Here’s What You Do Next:-</h4><ol><li>Open the terminal and access the root folder of project.</li><li>Run the following command:-</li></ol><pre>sudo npm install -g flow-typed</pre><pre>flow-typed create-stub mocha@x.x.x</pre><p>Here, <strong>mocha</strong> is the name of the node module. You would have to write your own require module’s name one by one &amp; you’ll be sorted.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db8a956c4cde" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blueeast/how-to-remove-flow-issues-in-node-modules-db8a956c4cde">How to Remove Flow Issues in Node Modules?</a> was originally published in <a href="https://medium.com/blueeast">BlueEast</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Detailed Add Device Flow Guide: Connecting Your AC to Mevris]]></title>
            <link>https://medium.com/mevris/detailed-add-device-flow-guide-connecting-your-ac-to-mevris-af09401061bb?source=rss-77185c323c82------2</link>
            <guid isPermaLink="false">https://medium.com/p/af09401061bb</guid>
            <category><![CDATA[smart-home-automation]]></category>
            <category><![CDATA[mevris]]></category>
            <category><![CDATA[air-conditioning]]></category>
            <category><![CDATA[wifi]]></category>
            <category><![CDATA[smart-home]]></category>
            <dc:creator><![CDATA[BlueEast]]></dc:creator>
            <pubDate>Mon, 17 Sep 2018 10:35:39 GMT</pubDate>
            <atom:updated>2018-09-17T10:46:59.949Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*U0G6BTcRS6Y_xNiRSNRTCg.png" /><figcaption>A step by step guide for adding your AC to Mevris</figcaption></figure><p>In order to successfully connect your smart air conditioner to Mevris, carefully follow these simple steps.</p><ol><li>Enter the specific site section where you need to add your AC. Click the “Plus” sign to assign the appliance to the created site.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*niJ23WXCIA7HFqoZEZtUBQ.png" /><figcaption>Step 1</figcaption></figure><p>2. After clicking the “plus “sign, you’ll be redirected to a new page where you need to select the appliance’s type.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*QLMaKUFuUOEfAaUFWt8irA.png" /><figcaption>Step 2</figcaption></figure><p>3. After clicking the selected device, you need to establish “<em>system (PC/Mobile) to AC kit connection</em>”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*lZG4tA-VEgzl9JpxKMBYRA.png" /><figcaption>Step 3</figcaption></figure><p>4. Click on “NEXT” button that popped up on the new window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*dKWyS23dgQGphnXr4CfYeA.png" /><figcaption>Step 4</figcaption></figure><p><strong>5.</strong> Now establish PC/System to Kit connection by scanning the Wi-Fi hotspot of the air conditioner’s Wi-Fi kit on your personal device (PC/Mobile) and afterwards click on “SCAN” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*zj2BmLVSmVX_4z4CD4epOw.png" /><figcaption>Step 5</figcaption></figure><p><strong>6.</strong> Discover the device’s SSID on your system and place the correct password in the empty field. Now, click “SCAN” to find all available internet connections. <strong>(Note: Make sure to connect to the right SSID, the hotspot name/SSID &amp; the password key can be found on the appliance’s box &amp; leaflet).</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*Mtia4bwKIw83jSu4e3u4Qg.png" /><figcaption>Step 6</figcaption></figure><p>7. Now, click “Scan” to enable Mevris to search for all available Wi-Fi connections to connect the air conditioner to the internet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*9tqMG7uNG7SGrHZZtRsOXA.png" /><figcaption>Step 7</figcaption></figure><p>8. Choose your desired local internet connection, enter Wi-Fi’s password &amp; then click “OK”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*dHNEbfGFbfweFzBtVd72oQ.png" /><figcaption>Step 8</figcaption></figure><p>9. Now, to enable connection between your system &amp; the local internet, click <em>“Next”</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*bYtOyf4HMCZfziUWz6LzIA.png" /><figcaption>Step 9</figcaption></figure><p>10. Finally, click “NEXT” to complete the <em>“Add Device flow”.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*LcPfiyayG6WLiOSnq6rjQg.png" /><figcaption>Step 10</figcaption></figure><p>11. After forming all connections, you’ll be redirected to the site/asset detail page to validate the status of the added air conditioner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*WhHtLoZzV_F86XdGePhNjg.png" /><figcaption>Voila !</figcaption></figure><p><em>And here is how you add a device in Mevris.</em></p><p>If you find it difficult for the first time, go through the process once again and you’ll be easily able to add your desired appliance. If you get stuck somewhere, feel free to contact Mevris support at 03000561441.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af09401061bb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mevris/detailed-add-device-flow-guide-connecting-your-ac-to-mevris-af09401061bb">Detailed Add Device Flow Guide: Connecting Your AC to Mevris</a> was originally published in <a href="https://medium.com/mevris">Mevris</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Encouraging Entrepreneurship Culture in Pakistan: Mian Abdul Rehman Talat Participates at Superior…]]></title>
            <link>https://medium.com/blueeast/encouraging-entrepreneurship-culture-in-pakistan-mian-abdul-rehman-talat-participates-at-superior-472b27d97117?source=rss-77185c323c82------2</link>
            <guid isPermaLink="false">https://medium.com/p/472b27d97117</guid>
            <category><![CDATA[expo]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[talks]]></category>
            <category><![CDATA[superior-university]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[BlueEast]]></dc:creator>
            <pubDate>Sun, 19 Aug 2018 07:00:00 GMT</pubDate>
            <atom:updated>2018-08-29T14:04:29.224Z</atom:updated>
            <content:encoded><![CDATA[<h3>Encouraging Entrepreneurship Culture in Pakistan: Mian Abdul Rehman Talat Participates at Superior Entrepreneurial Expo 2k18</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*sWyKHdKrMPQKnn5n3dad8g.jpeg" /><figcaption>The Glamorous Stage of Superior Entrepreneurial Expo 2k18</figcaption></figure><p><strong>LAHORE:</strong> Superior University hosted another successful entrepreneurial expo this year to foster entrepreneurship culture in Pakistan. The event with great efforts of university officials has come to a point where it has some of the best mentors to guide and facilitate the growth process of Entrepreneurs.</p><p>The event comprised of discussion on entrepreneurship policy for Asia, panel talks, insightful one-on-ones, electrifying startup exhibitions and the grand launch of Pakistan’s first startup reality show — <em>Idea Croron Ka Season 3</em>.</p><p><strong>Also Read: — </strong><a href="https://goo.gl/yS6Uyg"><strong>Abdul Rehman Talat Becomes Judge &amp; Investor for Idea Croron Ka Season 3</strong></a></p><p>Among professionals and leaders attending the expo, Mian Abdul Rehman Talat was a notable figure who in an interactive session with attendees shared his views about how beginning entrepreneurs can overcome the struggles faced by startups on the journey of success.</p><p>The Superior Entrepreneurial Expo just as every year attracted the attention of many entrepreneurs, startup founders, professionals and students. The in-depth discussion covered topics such as the ideal characteristics for an entrepreneur and the hurdles one can come across in business. BlueEast’s Founder &amp; CEO, Mian Abdul Rehman talked about various success stories as a reference of how startups with humble beginnings turned out to be businesses worth millions only due to hard work, untiring efforts &amp; constant innovation. He also told the audience about how he singlehandedly with his skills, visionary approach and experience managed to develop one of the country’s leading companies in IoT &amp; Ecommerce.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*ZTEmUINt3M4wymKevuqlhg.jpeg" /></figure><p>He explained to the audience that entrepreneurship is all about utilizing knowledge, talent and will power with least investment to capitalize on the cosmopolitan world of bit and bytes while creating opportunities for growth in the digital realm. Regardless of where one stands geographically, viable business models can be created that can interact with global structures of innovation and entrepreneurship. He mentioned that envisioning success calls for aligning empirical reality with imagination thus creating a perfect balance to reach the targeted goal. Also, identification of actors &amp; dependencies determining the success of any business is important as understanding the relationship of contingent factors will go a long way in making a product or service a super success. For new business owners really taking their idea to the next level, it is imperative for them to get armed with the knowledge of various domains as it will allow them to be pretty much an active part of the process that goes into making, launching &amp; sustainability of the offered product or service.</p><p>During the thought-provoking discussion, the audience absorbed every bit of knowledge Mr. Talat shared. The discussion concluded on the notion that educational institutions can play a positive role in mentoring future entrepreneurs thus creating a sustainable entrepreneurial eco- system in Pakistan. BlueEast’s founder ended the conversation paying gratitude to Superior &amp; how their initiatives are playing a vital part to create leaders of tomorrow. The Superior Entrepreneurial Expo 2k18 was indeed a hit among all circles of youngsters and entrepreneurial community &amp; aims to get bigger &amp; better with every year approaching.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=472b27d97117" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blueeast/encouraging-entrepreneurship-culture-in-pakistan-mian-abdul-rehman-talat-participates-at-superior-472b27d97117">Encouraging Entrepreneurship Culture in Pakistan: Mian Abdul Rehman Talat Participates at Superior…</a> was originally published in <a href="https://medium.com/blueeast">BlueEast</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Abdul Rehman Talat Becomes Judge & Investor for Idea Croron Ka Season 3]]></title>
            <link>https://medium.com/blueeast/abdul-rehman-talat-becomes-judge-investor-for-idea-croron-ka-season-3-44b20ad0beef?source=rss-77185c323c82------2</link>
            <guid isPermaLink="false">https://medium.com/p/44b20ad0beef</guid>
            <category><![CDATA[innovation]]></category>
            <category><![CDATA[shark-tank]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[university]]></category>
            <category><![CDATA[superior]]></category>
            <dc:creator><![CDATA[BlueEast]]></dc:creator>
            <pubDate>Sat, 18 Aug 2018 14:17:35 GMT</pubDate>
            <atom:updated>2018-09-11T06:40:01.158Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*l-BEusmesunlq64UwCoB4g.jpeg" /><figcaption>Idea Croron Ka Season 3 Launched</figcaption></figure><p>Idea Croron Ka- the Pakistani version of Shark Tank is a hit reality TV show broadcasted by NEO TV. The program intends to transform the lives of beginning entrepreneurs by helping them raise funds for their startups. The reality show, with the mission of supporting &amp; nurturing the notion of entrepreneurship in its previous two seasons showcased many brilliant visionaries &amp; their business models that are centered on addressing pain points of people across the country &amp; beyond.</p><p>BlueEast’s CEO, Mian Abdul Rehman Talat has now joined “<em>Idea Croron Ka</em>” as an investor &amp; judge for 3rd season in order to give a chance to entrepreneurs all over Pakistan to make it big in terms of making their ideas a reality.</p><p>The launching ceremony of the program’s 3rd season took place on 17th of August 2018 at Pakistan’s most awaited entrepreneurship event- <em>Superior Entrepreneurial Expo.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*NOYX2xKriIBVzo-GDqFH5A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*_MzccgSFoAlZtZPbsvSItg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*AGHdFa1Ac3dC56TauY6hWA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*m4Kmwzvo3CFToyWace2EVg.jpeg" /><figcaption>The launching ceremony of Idea Croron Idea Season 3</figcaption></figure><p>With fireworks flickering on the main stage, the stars behind Season 3 of “<em>Idea Croron</em>” ka stood next to the show’s new logo. These included BlueEast’s Chairman &amp; Founder, Mian Abdul Rehman Talat, Nabeel A. Qadeer, Content Producer Idea Croron Ka and Cofounder Innovation District 92 , Prof. Dr. Chaudhry Abdul Rehman, Chairman, The Superior Group along with other investors &amp; important personalities including the following:-</p><p>- <em>Mr. Idris bin Jusoh — Former Education Minister, Malaysia</em></p><p><em>- Alicia Dean — Strategic Marketing Communications Consultant, Austin, Texas — — Sushil Ram — Programme Manager, The Commonwealth Secretariat</em></p><p><em>- Dr. Muhammad Azam Roomi — Vice Dean Faculty and Research and Vice Dean Executive Education, Prince Muhammad Bin Salman College — MBSC of Business and Entrepreneurship</em></p><p><em>- Arif Zaman — Executive Director, The Commonwealth Business Women Network — Kishva Ambigapathy — Chairman, The Commonwealth Youth Innovation Hub</em></p><p><em>- Faisal Sherjan — Executive Director, National Incubation Center Lahore</em></p><p><em>- Saad Fazil — CEO, VentureDive</em></p><p><em>- Jehan Ara — The Big Bird, The Nest I/O</em></p><p><em>- Syed Ahmad — CEO, DPLIT</em></p><p><em>- Qasif Shahid — CEO FINJA</em></p><p><em>- Bashir Sheikh — Co-CEO, Inov8 Limited</em></p><p><em>- Jamil Goheer — Cofounder, Kualitatum</em></p><p><em>- Zaeem Yaqoob — Executive Director Student Affairs and External Relations, Beaconhouse National Universty — BNU</em></p><p><em>- Adnan Shahid — CMO, PTCL</em></p><ul><li><em>Rabeel Warraich — Founder and CEO, Sarmayacar</em></li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=facebook&amp;url=https%3A//www.facebook.com/IdeaCroronKa.Neo/videos/261662761156158/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent-iad3-1.xx.fbcdn.net%252Fv%252Ft15.0-10%252Fp720x720%252F38953112_261663304489437_7458738273221869568_n.jpg%253F_nc_cat%253D0%2526oh%253Df66af67cca4d21f611657df04297bcbe%2526oe%253D5C2564EF%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="600" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/de3815f1006b49400c8887b12de225f4/href">https://medium.com/media/de3815f1006b49400c8887b12de225f4/href</a></iframe><p>The Expo at Superior University attracted the attention of many students, professors, visionaries, innovators, business personalities, distinguished individuals &amp; professionals from the technology sector. As a part of “Idea Croron Ka-Season 3” launching ceremony, BlueEast’s founder shared his thoughts related to the future of entrepreneurial ecosystem in Pakistan &amp; focused on the importance of such programs to identify, sponsor &amp; provide mentorship to leaders of tomorrow. He also mentioned that along with specialized skill-set, it is important to opt for a functional &amp; practical approach while developing business models.</p><p>He stressed on characteristics ideal for an entrepreneur and the hurdles one can encounter in business. To give entrepreneurs a good dose of motivation, he quoted references of various success stories and how they ended up big. He also discussed the qualities and traits which are necessary to have an entrepreneurial mindset.</p><p>Mian Abdul Rehman Talat concluded with the advice that in order for local entrepreneurs to compete with giants, innovation, analytical approach, creative thinking &amp; problem addressing skills should be at core.</p><p>This discussion was just a glimpse of what Idea Croron Ka Season 3 is all about, so don’t miss out on any of the episodes to find out what’s happening in the world of entrepreneurship.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44b20ad0beef" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blueeast/abdul-rehman-talat-becomes-judge-investor-for-idea-croron-ka-season-3-44b20ad0beef">Abdul Rehman Talat Becomes Judge &amp; Investor for Idea Croron Ka Season 3</a> was originally published in <a href="https://medium.com/blueeast">BlueEast</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BlueEast Celebrates 71st Independence Day with a Duo Color Theme]]></title>
            <link>https://medium.com/blueeast/blueeast-celebrates-71st-independence-day-with-a-duo-color-theme-3f3bc50406f7?source=rss-77185c323c82------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f3bc50406f7</guid>
            <category><![CDATA[independence-day]]></category>
            <category><![CDATA[14th-august]]></category>
            <category><![CDATA[company-culture]]></category>
            <category><![CDATA[pakistan]]></category>
            <category><![CDATA[blueeast]]></category>
            <dc:creator><![CDATA[BlueEast]]></dc:creator>
            <pubDate>Thu, 16 Aug 2018 10:13:57 GMT</pubDate>
            <atom:updated>2018-08-16T10:20:45.907Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hDgC0lGTcg3Whn9ryLPwvg.jpeg" /><figcaption>Say cheeese !!!!</figcaption></figure><p>It was a day of sheer importance as Pakistan on 14th August 1947 became an independent republic after two centuries of being colonized by the British Empire. On the occasion of Pakistan’s 71st Independence Day, BlueEast celebrated the true spirit of patriotism with flair, enthusiasm, grandeur &amp; zeal. The duo-color theme reflected in every employee’s attire while the entire work-space sparkled with green &amp; white balloons, flags &amp; confetti to mark the celebration of Pakistan’s glorious day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yeaY5KmIEhDRNeM7zjmL7w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TxjV7pI9FRILjr4VefZbgA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XTonzGBmeOmjlnuSvjGqSg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*og65YxRKrnNUczd_B-N-Vw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AXCghnJ2XGubTu9-6gbR1w.jpeg" /><figcaption>The beautifully decorated BlueEast office</figcaption></figure><p>On this special day, everyone was happy to breathe in a free country whose foundation was laid by their ancestors. Everyone displayed their best of being a Pakistan &amp; took part in flag-raising ceremony with dignity &amp; pride. All day around, the office resonated with patriotic songs and chants &amp; the decoration &amp; the people fully complemented the environment.</p><p>Certainly, celebrating Pakistan’s Independence Day was not just a simple occasion but it was indeed a distinctive day for rejoicing in the true spirit to the core. The occasion held at BlueEast’s office gave the teams another opportunity to interact with fellow peers, for fun activities and enjoying the occasion to the fullest.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jD-14YfCpysiwbr07Da-pg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vcaIxVz1ptLxSlH_RmZoUA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*evYbLFtIZZO18lIExVXWRQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kibtF-ppliil9cMQLhS-qQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8fKYTBIzDF5dgeCMlN9BMQ.jpeg" /><figcaption>Appreciating the green &amp; white</figcaption></figure><p>The action-packed event began with the group photo session and cake cutting ceremony headed by Managing Director Mr. Mian Talat Mehmood, Executive Director Mian Ahmed Fazal, BlueEast’s CEO Mr. Mian Abdul Rehman Talat, Director Customer Experience Mian Nouman Talat, Deputy CEO Ms. Sidra Talat and COO Mr. Junaid Hafeez along with other officials of the company.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jvF-3AqLFraJ4ds2B-F6-A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ha9NlXp53wxJOAlkJl4auA.jpeg" /><figcaption>The fabulous chief guests cutting the cake !</figcaption></figure><p>Towards the end of the program, all the employees stood up for the national anthem of Pakistan with pride. The celebrations concluded with paying gratitude to Pakistan and cake cutting ceremony. The Independence Day celebrations at BlueEast encouraged everyone to play their part in the socio-economic &amp; political development in Pakistan. In the energetic and motivational environment of BlueEast, all the members chanted “<em>Pakistan Zindabad</em>” to commemorate the day of Independence.</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;schema=facebook&amp;url=https%3A//www.facebook.com/blueeasttech/videos/2348408845381380/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent-iad3-1.xx.fbcdn.net%252Fv%252Ft15.0-10%252Fp720x720%252F38087047_2348410778714520_7411944952424300544_n.jpg%253F_nc_cat%253D0%2526oh%253Dea3e3ab7bd63ce659ed3062b936da460%2526oe%253D5C01ACFE%26key%3D4fce0568f2ce49e8b54624ef71a8a5bd" width="600" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/ab709e179cc67ff4e33602a66f4157fb/href">https://medium.com/media/ab709e179cc67ff4e33602a66f4157fb/href</a></iframe><p>Gaiety prevailed till late evening and every member put their heart and soul into making this national event a grand success. 2K18’s Independence Day celebrations will remain engraved in the hearts and minds of teams for years to come and promises to be bigger and better in the coming year!</p><p>BlueEast believes that such festivals are important to break the monotony of the working environment &amp; creating a healthy work culture and maintaining balance.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f3bc50406f7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blueeast/blueeast-celebrates-71st-independence-day-with-a-duo-color-theme-3f3bc50406f7">BlueEast Celebrates 71st Independence Day with a Duo Color Theme</a> was originally published in <a href="https://medium.com/blueeast">BlueEast</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BlueEast Upgrades Mevris: More Secure & More to Monitor]]></title>
            <link>https://medium.com/mevris/blueeast-upgrades-mevris-more-secure-more-to-monitor-ad6c31c2e22c?source=rss-77185c323c82------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad6c31c2e22c</guid>
            <category><![CDATA[iot-platform]]></category>
            <category><![CDATA[updates]]></category>
            <category><![CDATA[home-automation]]></category>
            <category><![CDATA[internet-of-things]]></category>
            <category><![CDATA[mevris]]></category>
            <dc:creator><![CDATA[BlueEast]]></dc:creator>
            <pubDate>Wed, 15 Aug 2018 12:05:38 GMT</pubDate>
            <atom:updated>2018-08-18T07:25:09.468Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*81lJsVxBjlPZ9OvEw3Xc2g.jpeg" /><figcaption>An upgrade for the future</figcaption></figure><p>Mevris- A universal IoT platform developed by BlueEast for the automation of appliances is now upgraded to ensure a more streamlined &amp; secure usage owing to the provision of more meaningful data at the user’s disposal. The team’s untiring efforts, sleepless nights &amp; countless cans of Red Bull finally paid off. Released on the eve of Pakistan’s Independence Day, this major upgrade to Mevris’s customer end portal aims to enable a fast, secure &amp; enhanced experience.</p><h3>Improvements Made in Mevris’s Latest Update</h3><h4><strong>Access to Live Information</strong></h4><p>Mevris users will now be able to check the live readings &amp; charts of the energy consumption of their appliance. Earlier, the stats were only available after usage but now optimizing it has been made more streamlined due to rapid access of observed readings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fbRroy78Nl7MM0tzMRd66A.png" /><figcaption>live data being displayed</figcaption></figure><h4><strong>Added Security via Data Encryption Protocols</strong></h4><p>To ensure performance benefits, Mevris has been made more secure due to its transition from http to https protocol thus adding additional security to the operations occurring at the application. Due to the availability of a secure communication protocol, Mevris users will be less prone to identity theft &amp; malware attacks. The SSL certificate incorporated will ensure security while processing sensitive data i.e. login credentials. Now, Mevris users can be certain about their information being protected via encrypted channels while communicating with the application. Covering key processes such as requests, responses, sessions, caching, authentication and more, Mevris is now more secure &amp; credible than ever.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I7MmxH3xi5n4QDdYUpvpNg.png" /><figcaption>operating on secure protocol</figcaption></figure><h4><strong>From Minutes to Seconds -10x Faster</strong></h4><p>The latest upgraded version of Mevris will offer an accelerated response time providing the users a less sluggish experience &amp; better access to functions of the application. Empowering to view real-time information faster, the application eliminates the lagging issue thus providing users access to more accurate data to ensure energy saving and optimized usage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8VqrbJdL7O4vEugX66a1iw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*LwXRdrsI3kderaBkQFS41Q.png" /><figcaption>No more lagging-10x faster</figcaption></figure><h4><strong>A Major Breakthrough- Better Access to Analytics</strong></h4><p>The most notable feature provided in Mevris’s latest update is precise &amp; timely delivery of data &amp; information. Mevris now ensures the provision of live, hourly, weekly &amp; monthly reports for better evaluation &amp; performance gauging. With deeper insights, detailed data, analytics intelligence, comprehensive reporting &amp; much more, Mevris users will be better able to optimize their appliance’s usage. Also, visualization of data when the device had gone offline has also been addressed in this update thus ensuring data completeness.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6gGO8WGs2fSpgS6vjFWwNg.png" /><figcaption>Enhanced visualization of data</figcaption></figure><h4><strong>Converting Complexity to Simplicity via an Intuitive UI/UX</strong></h4><p>Diminishing the UI/UX convolutions, Mevris now offers an improved overall experience for users to better work their way with the application. In comparison to its preceding version, Mevris is now more user friendly &amp; allows people to perform operations with minimum effort. With unnecessary pages &amp; menus now gone &amp; most functions available at a mere click, the various sections of the application are now more accessible &amp; simple. Moreover, Mevris now offers a more personalized approach by allowing the user to fully customize their profile. For on-the-go users, the application’s mobile experience has also been optimized for faster operations. Overall, with better visualization &amp; graphics, Mevris users will enjoy an enhanced experience at the IoT platform.</p><h4><strong>Devices Now Easily Added</strong></h4><p>Also, the addition of devices has also been simplified by providing a user friendly step by step procedure with details of each one of the sections. After eradication of the unnecessary steps, the shortened device add flow will allow the users to seamlessly add as many devices as they like without much hassle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V-NCcIdHhkJZGHILlygqEw.png" /><figcaption>An easy add device flow</figcaption></figure><h4><strong>Better Handling- Way Paved for Family Sharing Feature</strong></h4><p>Previously, if a device was re-added by a user, the former instance of the device still persisted and caused confusion. Now with new release, the previous instance is automatically marked “not available” thus removing the confusion. With more enhancements to be made in near future, this feature has paved the way for family sharing feature.</p><p><strong>Commenting on the latest release, BlueEast’s Founder &amp; Chairman, Mian Abdul Rehman Talat said:-</strong></p><blockquote><em>Mevris’s new update will help users to monitor, visualize &amp; control a huge number of appliances with little to no effort. Enabling customers to have better &amp; faster access to a broad vista of their data, with immediate ability to spot problems and zoom in, we are revolutionizing the way how machines connect to people. Owing to this new update, Mevris is more powerful than ever as it offers numerous ways of making sense of data at many levels, from the micro to the helicopter view. I believe that releasing a product is only the beginning, putting in efforts to add features to meet the changing requirements &amp; coping up with emerging trends is critical for sustainability &amp; it plays a crucial role in the overall success of the product. Aiming to cover a wide spectrum of home appliances globally,</em><strong><em> </em></strong><em>we here at BlueEast aim to make sure the availability of digital equipment &amp; software along with its adoption while keeping things simple.</em></blockquote><p>As Internet of Things devices today are serving to simplify lives of people &amp; verticals, a greater reliance on monitoring and load testing technologies is coming more in use. Being considered much of a paradigm shift in terms of how machine-to-man communication is taking place, Mevris is creating a massive influx of new devices that enable eased operations due to the integration of modern technologies.</p><p>With IoT bringing new challenges to the consumer’s end on a number of fronts, it was imperative for Mevris to gain a competitive advantage in terms of real-time analysis to support a myriad of devices across the country &amp; beyond.</p><p>To access the latest version of Mevris visit: —<strong> </strong><a href="https://mevris.io/login"><strong>https://mevris.io/login</strong></a></p><p><strong>OR</strong></p><p>To find out more about Mevris can help you automate appliances &amp; serve to enhance your business, connect with us through our official website at <a href="http://www.blueeast.com./"><strong>www.blueeast.com</strong>.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad6c31c2e22c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mevris/blueeast-upgrades-mevris-more-secure-more-to-monitor-ad6c31c2e22c">BlueEast Upgrades Mevris: More Secure &amp; More to Monitor</a> was originally published in <a href="https://medium.com/mevris">Mevris</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Beginner’s Guide: Working with NoFlo]]></title>
            <link>https://medium.com/blueeast/a-beginners-guide-working-with-noflo-3376dce14e2?source=rss-77185c323c82------2</link>
            <guid isPermaLink="false">https://medium.com/p/3376dce14e2</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[graph]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[BlueEast]]></dc:creator>
            <pubDate>Fri, 10 Aug 2018 11:34:24 GMT</pubDate>
            <atom:updated>2018-08-10T11:34:24.994Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*WFgQRaZDWi5uVU80loJGmg.png" /><figcaption>Working your way with NoFlow</figcaption></figure><p>NoFlo is a flow centered programming environment for JS. Flow based programming means that the application comprises of black boxes which allow the passage of data across predefined paths.</p><p>In NoFlo, the logic of a program is demarcated as a graph. These graphs consist of various black boxes connected together by means of input and output nodes. In NoFlo, these black boxes are just considered as components that are merely a javascript code that accomplishes a specified task. It may be a multiplier, a string concatenation function or any application you write in your day to day code.</p><p><strong><em>So, without further ado, let’s discuss NoFlo in detail.</em></strong></p><p>Component in NoFlo is a javascript module which does some function. In a NoFlo project, the component is placed in the components directory.</p><h3><strong>Let’s Create a Simple NoFlo Component!</strong></h3><p>Component will have two ports i.e input port and output port. It is intended to receive a number in its input port which will result in sending its square through its output port.</p><p><strong>Install NoFlo:</strong></p><pre>npm install noflo --save</pre><p>Now create a <em>square.js</em> component in the components folder of your project.</p><p><strong>Import NoFlo in your component:</strong></p><pre>const noflo = require(&#39;noflo&#39;);</pre><p><strong>Define Component’s Input &amp; Output Ports.</strong></p><pre>exports.getComponent = () =&gt; {<br><br>  const c = new noflo.Component();<br><br>  c.description = &#39;multiply a number&#39;;<br>  c.icon = &#39;file&#39;;<br><br>  c.inPorts.add(&#39;in&#39;, {<br>    datatype: &#39;int&#39;<br>  });<br>  c.outPorts.add(&#39;out&#39;, {<br>    datatype: &#39;int&#39;<br>  });<br>  c.outPorts.add(&#39;error&#39;, {<br>    datatype: &#39;object&#39;<br>  });</pre><p>Now, make use of NoFlo process API to process the data received on the input port of the component. After processing, we will send this data to output port.</p><pre>c.process((input, output) =&gt; {<br><br>    if (!input.hasData(&#39;in&#39;)) {<br>      return;<br>    }<br><br>    const number = input.getData(&#39;in&#39;);<br><br>      output.send({<br>        out: number*number<br>      });<br>      output.done();<br>  });<br><br>  return c;<br>}</pre><p>Having created a simple NoFlo component, let’s see how we can include it in a NoFlo graph for execution &amp; verification.</p><p>Graphs can be described as a way through which NoFlo logic or program logic is defined. A graph may include different interconnected components, each of which can be used as per requirement. The graph can be constructed using domain specific language (DSL). Also, Graphs can also be constructed in json format.</p><p><em>For better understanding of the flow of graph, we’ll be using json format.</em></p><p>Our earlier created component will receive a number and send its square through the output port. Here, we will use a core component to receive square from our component and then display it.</p><p>First &amp; foremost, we will define all the components used in the graph. Afterwards, we’ll define how they are connected with each other. We will also delineate the source of data and its target node so that Data gets passed in the correct format.</p><pre>{<br>  &quot;inports&quot;: {},<br>  &quot;outports&quot;: {},<br>  &quot;groups&quot;: [],<br>  &quot;processes&quot;: {<br>    &quot;ProvideNumber&quot;: {<br>      &quot;component&quot;: &quot;provideNumber&quot;<br>    },<br>    &quot;ProcessNumber&quot;: {<br>      &quot;component&quot;: &quot;square&quot;<br>    },<br>    &quot;ShowResult&quot;:{<br>     &quot;component&quot;:&quot;showconsole&quot;<br>    },<br>    &quot;Display&quot;: {<br>      &quot;component&quot;: &quot;core/Output&quot;<br>    }<br>  },<br>  &quot;connections&quot;: [<br>    {<br>      &quot;src&quot;: {<br>        &quot;process&quot;: &quot;ProvideNumber&quot;,<br>        &quot;port&quot;: &quot;out&quot;<br>      },<br>      &quot;tgt&quot;: {<br>        &quot;process&quot;: &quot;ProcessNumber&quot;,<br>        &quot;port&quot;: &quot;in&quot;<br>      }<br>    },<br>    {<br>      &quot;src&quot;: {<br>        &quot;process&quot;: &quot;ProcessNumber&quot;,<br>        &quot;port&quot;: &quot;out&quot;<br>      },<br>      &quot;tgt&quot;: {<br>        &quot;process&quot;: &quot;Display&quot;,<br>        &quot;port&quot;: &quot;in&quot;<br>      }<br>    },<br>    {<br>      &quot;data&quot;:4,<br>      &quot;tgt&quot;:{<br>        &quot;process&quot;:&quot;ProvideNumber&quot;,<br>        &quot;port&quot;:&quot;in&quot;<br>      }<br>    }<br>  ],<br>  &quot;caseSensitive&quot;: false<br>}</pre><h3><strong>Initiate the Program:</strong></h3><p>Now, we want to run the program we just created. We will execute <em>graph.js</em> file present in graphs folder.</p><pre>./node_modules/.bin/noflo-nodejs --graph graphs/graph.json</pre><h3><strong>To View Graph in FlowHub visually run:</strong></h3><p>The Graph we just developed can also be observed using FlowHub. In order to do that, we will run the following command.</p><pre>node node_modules/.bin/noflo-nodejs --secret some-password</pre><p>Simply copy the link provided in terminal and paste it in a browser to viewing purposes. It’ll look something like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*e3-WBKcjnXXYtM3PF7jWFA.png" /><figcaption>A sample view of the Graph</figcaption></figure><p>This was a quick little demo for creating a simple flow based application. For further help, you may visit, <a href="https://noflojs.org/"><strong>noflojs.org</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3376dce14e2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blueeast/a-beginners-guide-working-with-noflo-3376dce14e2">A Beginner’s Guide: Working with NoFlo</a> was originally published in <a href="https://medium.com/blueeast">BlueEast</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>