<?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: Grigore</title>
    <description>The latest articles on DEV Community by Grigore (@grigoremrc).</description>
    <link>https://dev.to/grigoremrc</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%2F429558%2Fb5fca80c-6cc0-4cee-8edb-06f2c64e7a26.jpeg</url>
      <title>DEV Community: Grigore</title>
      <link>https://dev.to/grigoremrc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/grigoremrc"/>
    <language>en</language>
    <item>
      <title>Money Mule Huge Scam Targeting Web developers and freelancers!!</title>
      <dc:creator>Grigore</dc:creator>
      <pubDate>Wed, 10 Mar 2021 20:30:31 +0000</pubDate>
      <link>https://dev.to/grigoremrc/money-mule-huge-scam-targeting-web-developers-and-freelancers-1phk</link>
      <guid>https://dev.to/grigoremrc/money-mule-huge-scam-targeting-web-developers-and-freelancers-1phk</guid>
      <description>&lt;h2&gt;
  
  
  Be aware developers this is serious and they can target you next.
&lt;/h2&gt;

&lt;h5&gt;
  
  
  It all started two weeks ago when a person named "Bill Cook" contacted me via Facebook saying that their new charity organization need a website and asked me to send an estimate.That is what I did next day.
&lt;/h5&gt;

&lt;p&gt;Scammers know their job and they do it very professionally giving a lot of details about design and functionality they need.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--vfeiu0Wb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/67p539znz47s4sxe4f6b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vfeiu0Wb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/67p539znz47s4sxe4f6b.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
After few days I received the check in the mail but it was not for the amount i have estimated this project,instead three times more,it followed by couple emails.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--C91FmSoK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ipnyel1z46rdqiakutrj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--C91FmSoK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ipnyel1z46rdqiakutrj.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
Well who does not make mistakes? everyone right ? especially when it comes to a 75 years old man.&lt;br&gt;
The check looked real to me so I deposited it in my acc check looked real to the bank too because i had the funds available next day.&lt;br&gt;
They provided the name and address for their private consultant i wrote a check for the remaining amount and i was ready to sent it out but the right next email they sent me stopped me. It stopped me because they asked for cash only no check no money order nothing but cash.I said no to myself that will not happen i can not send cash money via fedex.I have send them back couple emails to provide more info about the project and there was no answer.You probably will say, it was obvious,agree it was obvious for me too but a lot of people can fall for it and lose their hard earned money.&lt;br&gt;
Bank told me is not a real check but the funds are in my acc after three days depositing it online.Their security issue make this criminals real.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>codenewbie</category>
      <category>100daysofcode</category>
    </item>
    <item>
      <title>#Hosting With cPanel React App</title>
      <dc:creator>Grigore</dc:creator>
      <pubDate>Fri, 15 Jan 2021 16:37:07 +0000</pubDate>
      <link>https://dev.to/grigoremrc/hosting-with-cpanel-react-app-5aho</link>
      <guid>https://dev.to/grigoremrc/hosting-with-cpanel-react-app-5aho</guid>
      <description>&lt;p&gt;In this post I will share with you how to Host your React App after you got the domain name and you already got the space on a web server for your web site.&lt;/p&gt;

&lt;p&gt;After you have created your app using npx create-react-app and you have all your files up and running locally congrats you five steps closer for deployment.&lt;/p&gt;

&lt;h2&gt;
  
  
  First!!!
&lt;/h2&gt;

&lt;p&gt;In you package.json file change the address from localhost:port to your DOMAIN NAME.In case you do not have it jut add it like this:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_sFUvzE6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ckjl9d32n0qsco3xpn2t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_sFUvzE6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ckjl9d32n0qsco3xpn2t.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Second!!!
&lt;/h2&gt;

&lt;p&gt;Run locally on your machine npm run build .This should create a &lt;strong&gt;Build&lt;/strong&gt; folder in your app&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ewVdI7JN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/bwfm2aw2z2f1zz2t7hol.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ewVdI7JN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/bwfm2aw2z2f1zz2t7hol.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Third!!!
&lt;/h2&gt;

&lt;p&gt;Go to the build folder that you have just created open the folder and **Compress all the items inside that folder&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CL3ekt0o--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/hje522wr38ezx66q3prk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CL3ekt0o--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/hje522wr38ezx66q3prk.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
Now you have a .zip folder witch you might drag on Desktop window because we gonna use this folder next.&lt;/p&gt;
&lt;h2&gt;
  
  
  Fourth!!!
&lt;/h2&gt;

&lt;p&gt;In &lt;strong&gt;cPanel&lt;/strong&gt; open the file manager and inside public_html folder download the .zip folder that we just created &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--SjR_XZmu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/kjozdsisosf057ebo96c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SjR_XZmu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/kjozdsisosf057ebo96c.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
After that extract it by right clicking on the folder &lt;/p&gt;

&lt;p&gt;Congratulations you are one step closer from having your web site hosted.&lt;/p&gt;
&lt;h2&gt;
  
  
  Fifth!!!
&lt;/h2&gt;

&lt;p&gt;Finally last step and most important one is to add a few lines of code in the hidden &lt;strong&gt;.htaccess&lt;/strong&gt; file.&lt;br&gt;
You can do it by going to cPanel settings and select &lt;strong&gt;Show hidden files(dotfiles)&lt;/strong&gt;&lt;br&gt;
Go to edit .htaccess file and add this code&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;IfModule mod_rewrite.c&amp;gt;&lt;br&gt;
  RewriteEngine On&lt;br&gt;
  RewriteBase /&lt;br&gt;
  RewriteRule ^index\.html$ - [L]&lt;br&gt;
  RewriteCond %{REQUEST_FILENAME} !-f&lt;br&gt;
  RewriteCond %{REQUEST_FILENAME} !-d&lt;br&gt;
  RewriteCond %{REQUEST_FILENAME} !-l&lt;br&gt;
  RewriteRule . /index.html [L]&lt;br&gt;
&amp;lt;/IfModule)&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Voila you made it, your site should be running on a shared server now and you can access it everywhere in the world&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If this post helped you and you want to connect &lt;a href="https://twitter.com/GrigoreMrc"&gt;Here is my Twitter&lt;/a&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>cpanel</category>
      <category>namecheap</category>
      <category>hosting</category>
    </item>
  </channel>
</rss>
