<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Dhiraj kumar Nayak</title>
    <description>The latest articles on Forem by Dhiraj kumar Nayak (@dhirajkumarnayak).</description>
    <link>https://forem.com/dhirajkumarnayak</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F429777%2Ffca089ce-c803-40e0-8fd7-9e2272e35186.jpeg</url>
      <title>Forem: Dhiraj kumar Nayak</title>
      <link>https://forem.com/dhirajkumarnayak</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/dhirajkumarnayak"/>
    <language>en</language>
    <item>
      <title>Components in react🔥</title>
      <dc:creator>Dhiraj kumar Nayak</dc:creator>
      <pubDate>Sun, 20 Sep 2020 03:25:22 +0000</pubDate>
      <link>https://forem.com/dhirajkumarnayak/components-in-react-3f6f</link>
      <guid>https://forem.com/dhirajkumarnayak/components-in-react-3f6f</guid>
      <description>&lt;p&gt;React has two types of components function component and class components. The component composed together to form an upper-level component.&lt;/p&gt;

&lt;h1&gt;
  
  
  Function vs class component
&lt;/h1&gt;

&lt;p&gt;function components are defined as the javascript function &lt;br&gt;
where the pros parameter contains the property of the component.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;Welcome&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;h1&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="nx"&gt;Hello&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="sr"&gt;/h1&amp;gt;&lt;/span&gt;&lt;span class="err"&gt;;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;The class components are defined as the class and are extended with the react component.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nx"&gt;Welcome&lt;/span&gt; &lt;span class="kd"&gt;extends&lt;/span&gt; &lt;span class="nx"&gt;React&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;Component&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;render&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;h1&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="nx"&gt;Hello&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="sr"&gt;/h1&amp;gt;&lt;/span&gt;&lt;span class="err"&gt;;
&lt;/span&gt;  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h1&gt;
  
  
  Composition of the component
&lt;/h1&gt;

&lt;p&gt;the component can be combined together to form an upper-level component.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;Welcome&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;h1&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="nx"&gt;Hello&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="sr"&gt;/h1&amp;gt;&lt;/span&gt;&lt;span class="err"&gt;;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;App&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;div&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;Welcome&lt;/span&gt; &lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Sara&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;Welcome&lt;/span&gt; &lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Cahal&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;Welcome&lt;/span&gt; &lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Edite&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="sr"&gt;/div&lt;/span&gt;&lt;span class="err"&gt;&amp;gt;
&lt;/span&gt;  &lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Make the component as much as you can split it. If you do that you can reuse the component in others so split it.&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Functional component🔥 in React⛅️ </title>
      <dc:creator>Dhiraj kumar Nayak</dc:creator>
      <pubDate>Fri, 18 Sep 2020 18:47:25 +0000</pubDate>
      <link>https://forem.com/dhirajkumarnayak/functional-component-in-react-1bdb</link>
      <guid>https://forem.com/dhirajkumarnayak/functional-component-in-react-1bdb</guid>
      <description>&lt;p&gt;Components are basic building block of a react application. In react, there are two types of component functional component and class Component. Here we will discuss functional components.&lt;/p&gt;

&lt;h1&gt;
  
  
  Define a Functional Component
&lt;/h1&gt;

&lt;p&gt;functional component that can be defined as a javascript function.&lt;br&gt;
 the &lt;code&gt;props&lt;/code&gt; in the function going to contain the property we want to pass to the component.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;
&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;Welcome&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;h1&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="nx"&gt;Hello&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="sr"&gt;/h1&amp;gt;&lt;/span&gt;&lt;span class="err"&gt;;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h1&gt;
  
  
  Use of functional component.
&lt;/h1&gt;

&lt;p&gt;you can define the function inside other components embedding the function name as a tag, like &lt;code&gt;Welcome&lt;/code&gt; as &lt;code&gt;&amp;lt;Welcome/&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;you can pass the property as an attribute of the component tag.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;
&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;Welcome&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;h1&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="nx"&gt;Hello&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="sr"&gt;/h1&amp;gt;&lt;/span&gt;&lt;span class="err"&gt;;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;App&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;div&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;Welcome&lt;/span&gt; &lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Sara&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;Welcome&lt;/span&gt; &lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Cahal&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;Welcome&lt;/span&gt; &lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Edite&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="sr"&gt;/div&lt;/span&gt;&lt;span class="err"&gt;&amp;gt;
&lt;/span&gt;  &lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



</description>
    </item>
    <item>
      <title>Task Scheduler in Node app </title>
      <dc:creator>Dhiraj kumar Nayak</dc:creator>
      <pubDate>Thu, 17 Sep 2020 17:51:18 +0000</pubDate>
      <link>https://forem.com/dhirajkumarnayak/task-scheduler-in-node-app-1o55</link>
      <guid>https://forem.com/dhirajkumarnayak/task-scheduler-in-node-app-1o55</guid>
      <description>&lt;h1&gt;
  
  
  Install cron job npm in your project
&lt;/h1&gt;

&lt;p&gt;you have to install cron on your  nodejs application&lt;br&gt;
you can install the cron by &lt;br&gt;
     &lt;code&gt;npm install cron&lt;/code&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Use cron On your project
&lt;/h1&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;CronJob&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;cron&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;CronJob&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;job&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nx"&gt;CronJob&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;* * * * * *&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;You will see this message every second&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;America/Los_Angeles&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;job&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;start&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h1&gt;
  
  
  cron vlaue range
&lt;/h1&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Required&lt;/th&gt;
&lt;th&gt;Allowed Values&lt;/th&gt;
&lt;th&gt;Allowed Special&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Seconds&lt;/td&gt;
&lt;td&gt;Y&lt;/td&gt;
&lt;td&gt;0-59&lt;/td&gt;
&lt;td&gt;, - * /.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Minutes&lt;/td&gt;
&lt;td&gt;Y&lt;/td&gt;
&lt;td&gt;0-59&lt;/td&gt;
&lt;td&gt;, - * /&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hours&lt;/td&gt;
&lt;td&gt;Y&lt;/td&gt;
&lt;td&gt;0-23&lt;/td&gt;
&lt;td&gt;, - * /&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Day of month&lt;/td&gt;
&lt;td&gt;Y&lt;/td&gt;
&lt;td&gt;1-31&lt;/td&gt;
&lt;td&gt;, - * ? / L W C&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Month&lt;/td&gt;
&lt;td&gt;Y&lt;/td&gt;
&lt;td&gt;0-11 or JAN-DEC&lt;/td&gt;
&lt;td&gt;, - * /&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Day of week&lt;/td&gt;
&lt;td&gt;Y&lt;/td&gt;
&lt;td&gt;1-7 or SUN-SAT&lt;/td&gt;
&lt;td&gt;, - * ? / L C #&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Year&lt;/td&gt;
&lt;td&gt;N&lt;/td&gt;
&lt;td&gt;empty or 1970-2099&lt;/td&gt;
&lt;td&gt;, - * /&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;these value are going to use use in the cron job&lt;/p&gt;

&lt;h1&gt;
  
  
  Some example of creating cron
&lt;/h1&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Expression&lt;/th&gt;
&lt;th&gt;Means&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0 0 12 * * ?&lt;/td&gt;
&lt;td&gt;Fire at 12:00 PM (noon) every day&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 15 10 ? * *&lt;/td&gt;
&lt;td&gt;Fire at 10:15 AM every day&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 15 10 * * ?&lt;/td&gt;
&lt;td&gt;Fire at 10:15 AM every day&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 15 10 * * ? *&lt;/td&gt;
&lt;td&gt;Fire at 10:15 AM every day&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 15 10 * * ? 2005&lt;/td&gt;
&lt;td&gt;Fire at 10:15 AM every day during the year 2005&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 * 14 * * ?&lt;/td&gt;
&lt;td&gt;Fire every minute starting at 2:00 PM and ending at 2:59 PM, every day&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 0/5 14 * * ?&lt;/td&gt;
&lt;td&gt;Fire every 5 minutes starting at 2:00 PM and ending at 2:55 PM, every day&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 0/5 14,18 * * ?&lt;/td&gt;
&lt;td&gt;Fire every 5 minutes starting at 2:00 PM and ending at 2:55 PM, AND fire every 5 minutes starting at 6:00 PM and ending at 6:55 PM, every day&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 0-5 14 * * ?&lt;/td&gt;
&lt;td&gt;Fire every minute starting at 2:00 PM and&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 10,44 14 ? 3 WED&lt;/td&gt;
&lt;td&gt;Fire at 2:10 PM and at 2:44 PM every Wednesday in the month of March&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 15 10 ? * MON-FRI&lt;/td&gt;
&lt;td&gt;Fire at 10:15 AM every Monday, Tuesday, Wednesday, Thursday and Friday&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 15 10 15 * ?&lt;/td&gt;
&lt;td&gt;Fire at 10:15 AM on the 15th day of every month&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 15 10 L * ?&lt;/td&gt;
&lt;td&gt;Fire at 10:15 AM on the last day of every month&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 15 10 ? * 6L&lt;/td&gt;
&lt;td&gt;Fire at 10:15 AM on the last Friday of every month&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 15 10 ? * 6L&lt;/td&gt;
&lt;td&gt;Fire at 10:15 AM on the last Friday of every month&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 15 10 ? * 6L 2002-2005&lt;/td&gt;
&lt;td&gt;Fire at 10:15 AM on every last friday of every month during the years 2002, 2003, 2004, and 2005&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 15 10 ? * 6#3&lt;/td&gt;
&lt;td&gt;Fire at 10:15 AM on the third Friday of every month&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 0 12 1/5 * ?&lt;/td&gt;
&lt;td&gt;Fire at 12 PM (noon) every 5 days every month, starting on the first day of the month&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0 11 11 11 11 ?&lt;/td&gt;
&lt;td&gt;Fire every November 11 at 11:11 AM&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h1&gt;
  
  
  Use cases
&lt;/h1&gt;

&lt;p&gt;there are total 7 corn fields but the year field is optional. You need to fill atleast 6 cron field to execute.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FqyzMNwj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/6kawcixfbww5usjiokh3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FqyzMNwj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/6kawcixfbww5usjiokh3.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>node</category>
      <category>npm</category>
    </item>
    <item>
      <title>In 2020 Start Web development with react.</title>
      <dc:creator>Dhiraj kumar Nayak</dc:creator>
      <pubDate>Wed, 16 Sep 2020 15:11:06 +0000</pubDate>
      <link>https://forem.com/dhirajkumarnayak/in-2020-start-web-development-with-react-284l</link>
      <guid>https://forem.com/dhirajkumarnayak/in-2020-start-web-development-with-react-284l</guid>
      <description>&lt;h1&gt;
  
  
  Installation of react complete Guide.
&lt;/h1&gt;

&lt;p&gt;If you want to Install before that you need to install node on your system. you can go to the node.js website and download the package note LTS(long term support) version for your system. after you download  node then Go to the official react website then you can create a react app using&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npx create-react-app my-app
cd my-app
npm start
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Now your project will run the desired port&lt;/p&gt;

&lt;h1&gt;
  
  
  folder structure
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--R05ECdCb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/2h0q070zfnchw2k59k01.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--R05ECdCb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/2h0q070zfnchw2k59k01.jpeg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  node-Modules
&lt;/h3&gt;

&lt;p&gt;It has in the topmost a node_module file which contains the node module which are installed in the app.&lt;/p&gt;

&lt;h3&gt;
  
  
  public
&lt;/h3&gt;

&lt;p&gt;It contains the favicon and index.html page through which app is rendering&lt;/p&gt;

&lt;h3&gt;
  
  
  src
&lt;/h3&gt;

&lt;p&gt;It is the main folder where we spend 90% of our time building the component and other services.&lt;/p&gt;

&lt;h3&gt;
  
  
  App.js
&lt;/h3&gt;

&lt;p&gt;this is the main page of the react application. here we defined our other services&lt;/p&gt;

&lt;h1&gt;
  
  
  what things you have to learn then after??
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;react-router: which is going to make your Single page application (SPA) to many pages inside as your need.&lt;/li&gt;
&lt;li&gt;react-form: then you must need to learn the react form to implement to make any kind of form to take as input.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;these two are the basic library that you must learn then you go for your requirement.&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Make Node.js app realtime with less effort. </title>
      <dc:creator>Dhiraj kumar Nayak</dc:creator>
      <pubDate>Wed, 16 Sep 2020 13:00:56 +0000</pubDate>
      <link>https://forem.com/dhirajkumarnayak/make-node-js-app-realtime-with-less-effort-4im9</link>
      <guid>https://forem.com/dhirajkumarnayak/make-node-js-app-realtime-with-less-effort-4im9</guid>
      <description>&lt;p&gt;It is easy to build Rest API using the express framework in node.js. But if you want to build a realtime application the change in the database reflects suddenly to the users then implementing socket.io you can make it but it is quite hard to implement the realtime feature, here comes the easy solution for you feathers js.&lt;/p&gt;

&lt;h1&gt;
  
  
  what is feathers js ??
&lt;/h1&gt;

&lt;p&gt;It is a framework for real-time application and for making the rest API at no cost. this will provide a real backend framework where the code structure has maintained you easily build an application with minimum efforts. It supports databases like mongoose, post grays, almost every database.&lt;/p&gt;

&lt;h1&gt;
  
  
  How you can install it
&lt;/h1&gt;

&lt;p&gt;TO start with feathers backend you have to start with installing the feathers-cli, which is a command-line interface tool that helps you to generate an application.&lt;/p&gt;

&lt;h1&gt;
  
  
  how to generate Feathers app
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;feathers generate app&lt;/code&gt; this command will going to ask questions like what should be your project name your preferences javascript or typescript. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;then it going to ask you question which database you like to implement&lt;br&gt;
would you like to use the user authentication?&lt;/p&gt;

&lt;p&gt;after some questions, it will go to generate an app for you.&lt;/p&gt;

&lt;h1&gt;
  
  
  how it going to work
&lt;/h1&gt;

&lt;p&gt;it has 3 main things in the src folder where 90% of our work we do.&lt;br&gt;
  =&amp;gt; model Folder&lt;br&gt;
  =&amp;gt; hooks folder&lt;br&gt;
  =&amp;gt; sevices&lt;/p&gt;

&lt;p&gt;Models: the model folder contains the model of your data you want to use in your project which is linked to your preferred databases. when you create any service it is going to automatically generate.&lt;/p&gt;

&lt;p&gt;Hooks: Hooks are the functions that are implemented before, after, or error the application. hooks have the context&lt;br&gt;
of an object that contains the app, user-related data that can be manipulated before and after the data used. you can create a hook by running &lt;code&gt;feathers generate hook&lt;/code&gt; It will generate a hook&lt;/p&gt;

&lt;p&gt;Services: Services contain the whole application rest API operation done through the services. you can make a change in the services to manipulate the data of the API. you can generate service by running the command &lt;code&gt;feathers generate service&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Feathers is easy to learn to go through the documentation for a clear understanding.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://feathersjs.com/"&gt;Go to feathers&lt;/a&gt;&lt;/p&gt;

</description>
      <category>node</category>
      <category>mongoose</category>
      <category>realtime</category>
      <category>feathers</category>
    </item>
    <item>
      <title>How to become an app developer?</title>
      <dc:creator>Dhiraj kumar Nayak</dc:creator>
      <pubDate>Tue, 15 Sep 2020 03:35:16 +0000</pubDate>
      <link>https://forem.com/dhirajkumarnayak/how-to-become-an-app-developer-1gf1</link>
      <guid>https://forem.com/dhirajkumarnayak/how-to-become-an-app-developer-1gf1</guid>
      <description>&lt;p&gt;Nowadays every business coming to online so we need to learn to code that the best way to keep your shelf updated to this new generation.&lt;/p&gt;

&lt;p&gt;Now the programmer has good carrier opportunities, Good salaries, and a high job satisfaction rate otherwise if you try to start tech businesses or any Tech startup it will be easy for you.&lt;/p&gt;

&lt;p&gt;here I am going to show a roadmap for a beginner that how they can learn to code and make their ideas into a product or services.&lt;/p&gt;

&lt;h1&gt;
  
  
  Start from HTML css
&lt;/h1&gt;

&lt;p&gt;Html and CSS are not the programming language, but using this thing gives you can make a real interface or UI that users can able to Interact with. In our colleges, we thought to a programming language like c, c++ there a blue/black screen appears we write the program and by running these programs we get the result on the same screen but there are no real use cases of this kind of interfaces. when you going to make some applications for human use we must make an interface through which they interact with for that Html &amp;amp; CSS are useful to make interfaces in web application.&lt;/p&gt;

&lt;h3&gt;
  
  
  How you can learn HTML and CSS
&lt;/h3&gt;

&lt;p&gt;You can learn the basic HTML, CSS in a couple of hours you can learn these things following w3school.com documentation that will help you to understand the basics of the things within a couple of hours.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTML is just the skeleton where you add CSS to design it as you want.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;HTML and CSS build you the interface and design, some application needs some data from the user and they manipulate the data return data as their requirement when the dealing with data comes then javascript comes in the background to perform some operation with data like getting the data from HTML component and storing the data to the database, if there is any file it will upload the data to the storage, retrieve the data from the database and many other things.&lt;/p&gt;

&lt;h3&gt;
  
  
  How you can learn javascript?
&lt;/h3&gt;

&lt;p&gt;what kind of developer you maybe you need javascript one day.for the majority of the services you need to build a complete application.&lt;/p&gt;

&lt;p&gt;Now I tell some history of javascript. javascript is now not the same as before it has become so much power now the javascript which is widely in use is called modern javascript.&lt;br&gt;
after you learn some basics of the javascript, and some object-oriented programming concept now you jump into the frame web frameworks like Rect, Angular, Vue which are on the trend.&lt;/p&gt;

&lt;h1&gt;
  
  
  Front end framework React, Angular, Vue
&lt;/h1&gt;

&lt;p&gt;There are 3 major front end frameworks to speed up your development In recent statistics react is on top of the frontend frameworks which has a large number of job opportunities and has greater flexibility to integrate anything into it lots of libraries support you find for its UI development. No matter if you want to learn any framework and after a few months you want to switch to another framework it will be easy for you to learn another.&lt;/p&gt;

&lt;h1&gt;
  
  
  Backed Node.js
&lt;/h1&gt;

&lt;p&gt;You need a backend server to make a Rest API through which you will verify data from the client-side and check the data is authenticated the user or in the required form then save the data to the database other functionality can be done through the backend.&lt;/p&gt;

&lt;p&gt;this is a server running in the backend.&lt;/p&gt;

&lt;h1&gt;
  
  
  Databases
&lt;/h1&gt;

&lt;p&gt;A database is the collection of data. where the data are stored and retrieved as per our requirement. there are many database relational database like Mysql, oracle, post gray,&lt;br&gt;
NoSQL database like Mongo DB.&lt;/p&gt;

&lt;h1&gt;
  
  
  Firebase A backend solution for beginner
&lt;/h1&gt;

&lt;p&gt;A backend process needs a Server to run where we run the backend services in cloud service providers like google cloud platform, Aws server. But Firebase handles servers on their own end you no need to managing the services on your own.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Flutter set up for android on mac</title>
      <dc:creator>Dhiraj kumar Nayak</dc:creator>
      <pubDate>Thu, 06 Aug 2020 03:43:54 +0000</pubDate>
      <link>https://forem.com/dhirajkumarnayak/flutter-set-up-on-mac-5b0a</link>
      <guid>https://forem.com/dhirajkumarnayak/flutter-set-up-on-mac-5b0a</guid>
      <description>&lt;p&gt;&lt;strong&gt;Make sure you have installed &lt;code&gt;JDK&lt;/code&gt; and &lt;code&gt;android-studio&lt;/code&gt;.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;First We have to download flutter Manually unzipping the folder on &lt;code&gt;desktop&lt;/code&gt;.Then place the &lt;code&gt;flutter&lt;/code&gt; file inside  &lt;code&gt;/home&lt;/code&gt; creating a new directory &lt;code&gt;/developer&lt;/code&gt; and inside the folder, we have to place the &lt;code&gt;flutter&lt;/code&gt; file. you should do manually opening finder.&lt;/p&gt;

&lt;h1&gt;
  
  
  Second thing You should do
&lt;/h1&gt;

&lt;p&gt;then after placing flutter file inside the &lt;code&gt;/User/developer&lt;/code&gt; you have to configure your flutter so you need to &lt;br&gt;
edit bash_profile so you need to add the command changes the flutter file location then change it to what is necessary to make.&lt;/p&gt;

&lt;p&gt;open up The terminal then place the command and place &lt;code&gt;cd ~/&lt;/code&gt; it will take you to the &lt;code&gt;home&lt;/code&gt; directory.&lt;/p&gt;

&lt;p&gt;then &lt;code&gt;vi ~/.bash_profile&lt;/code&gt; it will open up the text editor you just enter &lt;code&gt;e&lt;/code&gt; to edit the file&lt;/p&gt;

&lt;p&gt;Press 'i' to insert the file then add a line inside &lt;code&gt;bash_profile&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt; #export
 export PATH="$PATH:/Users/thedkn/Developer/flutter/bin"
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;After configuring the path variable you enter &lt;code&gt;ESC&lt;/code&gt; key then&lt;br&gt;
Press &lt;code&gt;Shift-z-z&lt;/code&gt; to save and exit.&lt;/p&gt;

&lt;h1&gt;
  
  
  Flutter Set up on the visual studio code
&lt;/h1&gt;

&lt;p&gt;you should have to download the flutter plugin 1st one is the flutter  then install it then after it will ask you for &lt;br&gt;
 install some Extention&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Flutter
&lt;/li&gt;
&lt;li&gt;Awesome Flutter Snippets&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;after the installation completed open up terminal go to &lt;code&gt;cd Desktop&lt;/code&gt; then a project by &lt;code&gt;flutter create project_name&lt;/code&gt; the &lt;code&gt;project_name&lt;/code&gt; is according to your project make sure project name is always in &lt;code&gt;small latter&lt;/code&gt;. &lt;/p&gt;

&lt;h1&gt;
  
  
  Run Project
&lt;/h1&gt;

&lt;p&gt;To Run, the project we have to check the flutter is successfully installed or not we have to check in the terminal by command &lt;code&gt;flutter doctor&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;opening our project on vs code simply go to  &lt;code&gt;Run &amp;amp; Debug&lt;/code&gt; then select an emulator installed and it automatically runs your project on Emulator&lt;/p&gt;

&lt;h1&gt;
  
  
  Fix the common problems arise in Development
&lt;/h1&gt;

&lt;p&gt;A most common problem arises due to the app is compiled wrongly so before you Run delete the &lt;code&gt;build&lt;/code&gt; folder which is inside the root of your project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;hope you find it valuable. thank you!&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>mac</category>
      <category>installation</category>
      <category>android</category>
    </item>
  </channel>
</rss>
