<?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>DEV Community: Naseel Niyas</title>
    <description>The latest articles on DEV Community by Naseel Niyas (@naseelniyas).</description>
    <link>https://dev.to/naseelniyas</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%2F567142%2F9088468d-2187-4b7a-ae03-9fbe46bdabab.jpg</url>
      <title>DEV Community: Naseel Niyas</title>
      <link>https://dev.to/naseelniyas</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/naseelniyas"/>
    <language>en</language>
    <item>
      <title>Install node using NVM in under 3 mins</title>
      <dc:creator>Naseel Niyas</dc:creator>
      <pubDate>Thu, 22 Apr 2021 18:12:39 +0000</pubDate>
      <link>https://dev.to/naseelniyas/install-node-using-nvm-in-under-3-mins-2djk</link>
      <guid>https://dev.to/naseelniyas/install-node-using-nvm-in-under-3-mins-2djk</guid>
      <description>&lt;h1&gt;
  
  
  Hey There!🙋‍
&lt;/h1&gt;

&lt;h3&gt;
  
  
  This article is about installing Node on a Unix/Linux based system. We are using NVM to do this
&lt;/h3&gt;

&lt;h3&gt;
  
  
  You can also follow this video by me....(Don't forget to subscribe!)
&lt;/h3&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/XMNeu6Oggd8"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h5&gt;
  
  
  This guide can be followed on: &amp;gt; 1) Linux based distributions like Ubuntu, Debian, Red Hat, Fedora &amp;gt; 2) Unix distros MacOS ... etc.
&lt;/h5&gt;

&lt;h2&gt;
  
  
  Step 1
&lt;/h2&gt;

&lt;h4&gt;
  
  
  Visit &lt;a href="https://github.com/nvm-sh/nvm" rel="noopener noreferrer"&gt;https://github.com/nvm-sh/nvm&lt;/a&gt; to visit nvm's github repository &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.postimg.cc%2FfyBVZK50%2FScreenshot-from-2021-04-21-19-48-22.png" alt="Image"&gt; "Nvm github"
&lt;/h4&gt;

&lt;h4&gt;
  
  
  Now we can scroll down untill we find a list of commands &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.postimg.cc%2Fj529Zqm0%2FScreenshot-from-2021-04-21-19-51-50.png" alt="Installation commands"&gt;
&lt;/h4&gt;

&lt;h2&gt;
  
  
  Step 2
&lt;/h2&gt;

&lt;h4&gt;
  
  
  Now, we just have to run these commands.
&lt;/h4&gt;

&lt;h5&gt;
  
  
  Command 1: Use curl/Wget to run the Install/Update script.
&lt;/h5&gt;

&lt;h6&gt;
  
  
  Using Curl:
&lt;/h6&gt;

&lt;p&gt;&lt;br&gt;
 &lt;code&gt;curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;h6&gt;
  
  
  Using Wget:
&lt;/h6&gt;



&lt;p&gt;&lt;code&gt;wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;h4&gt;
  
  
  We have to export some ENV (Enviornment variables)... Run these 2 commands
&lt;/h4&gt;

&lt;p&gt;&lt;br&gt;
 &lt;code&gt;export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] &amp;amp;&amp;amp; printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;



&lt;p&gt;&lt;code&gt;sh [ -s "$NVM_DIR/nvm.sh" ] &amp;amp;&amp;amp; \. "$NVM_DIR/nvm.sh" # This loads nvm&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3
&lt;/h2&gt;

&lt;h4&gt;
  
  
  Use NVM to install Node!
&lt;/h4&gt;

&lt;h4&gt;
  
  
  Now we have successfully installed NVM. Time to use It.
&lt;/h4&gt;

&lt;h5&gt;
  
  
  To install the latest LTS version of node, run:
&lt;/h5&gt;

&lt;p&gt;&lt;br&gt;
 &lt;code&gt;nvm install --lts&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;h5&gt;
  
  
  To install latest version of node, Run:
&lt;/h5&gt;

&lt;p&gt;&lt;br&gt;
 &lt;code&gt;nvm install node&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;h5&gt;
  
  
  To install a specific version of node, run:
&lt;/h5&gt;

&lt;p&gt;&lt;br&gt;
 &lt;code&gt;nvm install 12.0.0 # This istalls node v12.0.0&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;h5&gt;
  
  
  To use a specific version:
&lt;/h5&gt;

&lt;p&gt;&lt;br&gt;
 &lt;code&gt;nvm use 12.0.0 # Uses node v12.0.0&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;h3&gt;
  
  
  That's It! Now you have node running on your system!
&lt;/h3&gt;




&lt;h6&gt;
  
  
  Encountered an error? Comment below!
&lt;/h6&gt;

</description>
      <category>node</category>
      <category>nvm</category>
      <category>linux</category>
      <category>unix</category>
    </item>
    <item>
      <title>Install VSCODE for beginners</title>
      <dc:creator>Naseel Niyas</dc:creator>
      <pubDate>Mon, 05 Apr 2021 01:36:15 +0000</pubDate>
      <link>https://dev.to/naseelniyas/install-vscode-for-beginners-5i2</link>
      <guid>https://dev.to/naseelniyas/install-vscode-for-beginners-5i2</guid>
      <description>&lt;h1&gt;
  
  
  How to I stall VSCODE for beginners
&lt;/h1&gt;

&lt;h6&gt;
  
  
  If you thought to start to learn programming, Awesome decision!
&lt;/h6&gt;

&lt;h4&gt;
  
  
  In the video below , I explain how you can install and configure VSCODE.
&lt;/h4&gt;

&lt;h4&gt;
  
  
  I will also show a few themes, extensions, icons and also product icons..
&lt;/h4&gt;

&lt;h6&gt;
  
  
  I will be showing this on a windows computer
&lt;/h6&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/v-opkVZAv1U"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Do comment if you have any doubts or clarifications...&lt;/p&gt;

</description>
      <category>vscode</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
    <item>
      <title>My First Website (Node and Express)</title>
      <dc:creator>Naseel Niyas</dc:creator>
      <pubDate>Sun, 21 Feb 2021 03:20:06 +0000</pubDate>
      <link>https://dev.to/naseelniyas/my-first-website-node-and-express-3mf8</link>
      <guid>https://dev.to/naseelniyas/my-first-website-node-and-express-3mf8</guid>
      <description>&lt;h1&gt;
  
  
  My new Website
&lt;/h1&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://www.math4u.co.in"&gt;math4u.co.in&lt;/a&gt;
&lt;/h2&gt;

&lt;h3&gt;
  
  
  This is a website created for my Mom
&lt;/h3&gt;




&lt;h1&gt;
  
  
  Here is the details of the webapp.
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Technologies used:
&lt;/h2&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Nodejs&lt;/strong&gt;: To build the server for the backend of the web application and to install npm packages
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Bootstrap: To get the site look better with pre made css
&lt;/h2&gt;

&lt;h1&gt;
  
  
  NPM PACKAGES:
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Body parser : To parse the text from the form , to store it in the mongodb    database  and send an email.
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install body-parser
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Express: For building the server ,make it listen in different ports and specify     routes like &lt;code&gt;/trial&lt;/code&gt; or &lt;code&gt;/class10&lt;/code&gt;
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install express
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Nodemailer :To send an email when the form is submitted, with its contents.
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install nodemailer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  MongoDB: All the trial registrations are stored in MongoDB
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install mongodb
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Mongoose: To create models and schemas in order to store it in the mongodb database.
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install mongoose
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Nodemon : In order to restart the server when the server's javascript files are modified.
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install -g nodemon
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  WEB HOSTING
&lt;/h1&gt;

&lt;p&gt;The web application is hosted on a &lt;a href="https://azure.com"&gt;Microsoft Azure&lt;/a&gt; app service plan (Web App)&lt;/p&gt;

&lt;h1&gt;
  
  
  Applications Used to develop the website:
&lt;/h1&gt;

&lt;p&gt;## IDE: &lt;a href="https://code.visualstudio.com"&gt;Microsoft Visual Studio Code&lt;/a&gt;&lt;br&gt;
 ## Browser: &lt;a href="https://chrome.google.com"&gt;Google Chrome&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Command Line: Bash Shell on Windows on &lt;a href="https://git-scm.com/"&gt;Git&lt;/a&gt;
&lt;/h1&gt;

&lt;h3&gt;
  
  
  I have also dockerized the app into a container.
&lt;/h3&gt;

&lt;h3&gt;
  
  
  I started with game development in UNITY scripted with C# and created multiple 2D&amp;amp;3D games. One of his game is published in play store.
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://play.google.com/store/apps/details?id=com.codnas.neonrails"&gt;https://play.google.com/store/apps/details?id=com.codnas.neonrails&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Currently I am interested in improving my skills in Python and JavaScript. Also learning about containers(docker) and container orchestration (kubernetes).&lt;/p&gt;

&lt;h3&gt;
  
  
  Do visit the &lt;a href="https://www.math4u.co.in"&gt;website&lt;/a&gt; and let me know your feedback.
&lt;/h3&gt;

&lt;p&gt;Thank You&lt;/p&gt;

&lt;p&gt;Regards&lt;/p&gt;

&lt;p&gt;Naseel Niyas&lt;/p&gt;

</description>
      <category>node</category>
      <category>math4u</category>
      <category>express</category>
      <category>mongodb</category>
    </item>
  </channel>
</rss>
