<?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: Alestor Aldous</title>
    <description>The latest articles on DEV Community by Alestor Aldous (@alestor_123).</description>
    <link>https://dev.to/alestor_123</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%2F623824%2F490b87d0-1a18-4ddd-b89e-4aa63ea65a5a.png</url>
      <title>DEV Community: Alestor Aldous</title>
      <link>https://dev.to/alestor_123</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/alestor_123"/>
    <language>en</language>
    <item>
      <title>What are the 2 main methods for authentication</title>
      <dc:creator>Alestor Aldous</dc:creator>
      <pubDate>Mon, 02 Jan 2023 15:21:11 +0000</pubDate>
      <link>https://dev.to/alestor_123/what-are-different-177e</link>
      <guid>https://dev.to/alestor_123/what-are-different-177e</guid>
      <description>&lt;p&gt;This article is a part of a new series of articles called "Short Notes" which allows beginners to understand different concepts about webdev within 5 minutes .&lt;/p&gt;

&lt;h2&gt;
  
  
  So What Are Those
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6kx2ybhjyqjd5tuwayhe.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6kx2ybhjyqjd5tuwayhe.gif" alt="monkeygif" width="220" height="220"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Different Approaches : There are 2 main ways to implement user authentication. There are others but for we are going to  mainly focus on this methods. Short notes for other authentication methods will be released soon.&lt;/p&gt;

&lt;h2&gt;
  
  
  1 . Cookie Session
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fix91kuonojikr7mw05d3.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fix91kuonojikr7mw05d3.gif" alt="cookie" width="220" height="220"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Cookie Session is one of the conventional methods. This authentication mechanism begins when users fill out their credentials and submit them to a server, which is validated by the server and if the provided credentials are valid, then the server creates a session in the database and responds with a session id and the session id will be saved in a place where the browser stores key-value pairs called the cookie jar. This id is sent back to the server as the key to the server on every subsequent request and if all goes right, the server will respond back with appropriate data. But it has some drawbacks as you need to store session IDs in the database because most modern applications scale horizontally and this can be a huge pain. &lt;/p&gt;

&lt;h2&gt;
  
  
  2. Token Authentication
&lt;/h2&gt;

&lt;p&gt;This approach solves the issue of scaling . As the client submits the credentials to the server instead of storing a session id it generates a JSON Web Token with a private key stored in the server. Then it is sent back to the browser and it is usually stored in the local storage for any request requiring authentication. The JSON Web Token will be added to the authorization header prefixed by a bearer . The only thing the server has to do is to validate the signature . It is more efficient than searching for tokens in the db . At the end, all you have to remember is that in session authentication state is handled by the server while tokens are handled by the client side. If you want to know more you can give &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Authentication_API" rel="noopener noreferrer"&gt;MDN DOCS&lt;/a&gt; a visit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion : Don't Worry Just Stay Awesome :D &amp;amp; Happy New Year
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Keep Coding !!!
&lt;/h2&gt;

&lt;h2&gt;
  
  
  🙏 Share with your friends on &lt;a href="https://twitter.com/intent/tweet?text=%22What%20is%20tokens%20and%20sessions%22%20by%20%40alestor123%20%23DEVCommunity%20https%3A%2F%2Fdev.to%2Falestor_123%2Fwhat-is-tokens-and-sessions-1o82-temp-slug-457880"&gt;Twitter&lt;/a&gt;
&lt;/h2&gt;

</description>
      <category>design</category>
      <category>animation</category>
    </item>
    <item>
      <title>CORS Error in 5 minutes</title>
      <dc:creator>Alestor Aldous</dc:creator>
      <pubDate>Sun, 25 Dec 2022 16:42:39 +0000</pubDate>
      <link>https://dev.to/alestor_123/cors-error-in-5-minutes-2doa</link>
      <guid>https://dev.to/alestor_123/cors-error-in-5-minutes-2doa</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.unsplash.com%2Fphoto-1534343133720-0c20dba3a360" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.unsplash.com%2Fphoto-1534343133720-0c20dba3a360" alt="PAIN"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  So What is CORS ?
&lt;/h2&gt;

&lt;p&gt;CORS stands for &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS" rel="noopener noreferrer"&gt;Cross Origin Resource Sharing&lt;/a&gt; is mechanism that allows a website on one url to request data from another url . This error has been a pain for both front end and backend developer from start . Your webpage might be trying to fetch data from another url and end up with a error in the console&lt;/p&gt;

&lt;p&gt;Trust me sometimes CORS Error is a huge pain for web dev out there :&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fc.tenor.com%2FlNVQihuFBvYAAAAC%2Fmonkey-computer.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fc.tenor.com%2FlNVQihuFBvYAAAAC%2Fmonkey-computer.gif" alt="apin"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Something like this :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.stack.imgur.com%2FLY5mG.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.stack.imgur.com%2FLY5mG.png" alt="error"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Well this happen because of the browser's security policy &lt;/p&gt;
&lt;h2&gt;
  
  
  Well what is this policy in simple words :
&lt;/h2&gt;

&lt;p&gt;This policy allows a webpage from its own url but blocks anything from another url unless certain conditions are met.&lt;br&gt;
Well if you open up the devtools you might be able to view the headers of request in which there is a origin header which specifies origin url if that request goes to the server in the same origin then its allowed by the browser &lt;/p&gt;
&lt;h2&gt;
  
  
  What happens when request goes to a different url :
&lt;/h2&gt;

&lt;p&gt;This type of request is known as &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#:~:text=The%20CORS%20mechanism%20supports%20secure,of%20cross%2Dorigin%20HTTP%20requests." rel="noopener noreferrer"&gt;Cross Origin Requests&lt;/a&gt;&lt;br&gt;
After reciving the request by the server it adds a &lt;br&gt;
&lt;code&gt;Access-Control-Allow-Origin&lt;/code&gt; header in the response .&lt;/p&gt;

&lt;p&gt;If  &lt;code&gt;Access-Control-Allow-Origin&lt;/code&gt; does not match with &lt;code&gt;Origin&lt;/code&gt; Header then browser prevents the response from being used by the client side app&lt;/p&gt;
&lt;h2&gt;
  
  
  So What's the solution ?
&lt;/h2&gt;

&lt;p&gt;Well we can solve this issue at the backend side . We only need to set backend to respond with the proper header &lt;/p&gt;

&lt;p&gt;If your express.js this issue can be solved using &lt;a href="https://www.npmjs.com/package/cors" rel="noopener noreferrer"&gt;cors&lt;/a&gt; module &lt;/p&gt;

&lt;p&gt;Install module by npm :&lt;br&gt;
&lt;/p&gt;

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

&lt;/div&gt;



&lt;p&gt;Usage :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var cors = require('cors') 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We can set express js to respond with a proper header with a 1 line middleware code&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;app.use(cors({origin:'http://yourawesomeurl.net'}))
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When facing a CORS Error &lt;/p&gt;

&lt;p&gt;Step 1 :&lt;br&gt;
Open up network tab of devtools find the response and check for&lt;br&gt;
&lt;br&gt;
 &lt;code&gt;Access-Control-Allow-Origin&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
header . If it doesnt exist then you have to enable cors on server side &lt;br&gt;
other wise the url might be a mismatch &lt;/p&gt;

&lt;p&gt;Well if you dont own the server then you're doomed&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fc.tenor.com%2FJIS_KDKKsgYAAAAd%2Fguaton-computadora.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fc.tenor.com%2FJIS_KDKKsgYAAAAd%2Fguaton-computadora.gif" alt="doomed"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And thats CORS Error in 5 minutes hope this articles helps you out &lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion :
&lt;/h2&gt;

&lt;p&gt;Don't Worry Just Stay Awesome :D &amp;amp; Merry Christmas!!&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep Coding !!!
&lt;/h2&gt;

&lt;h2&gt;
  
  
  🙏 Share with your friends on &lt;a href="https://twitter.com/intent/tweet?text=%22CORS%20Error%20in%205%20minutes%22%20by%20%40alestor123%20%23DEVCommunity%20https%3A%2F%2Fdev.to%2Falestor_123%2Fcors-error-in-5-minutes-317n-temp-slug-9838531"&gt;Twitter&lt;/a&gt;
&lt;/h2&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>javascript</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>After A Long Break</title>
      <dc:creator>Alestor Aldous</dc:creator>
      <pubDate>Sun, 31 Jul 2022 06:47:00 +0000</pubDate>
      <link>https://dev.to/alestor_123/after-a-long-break-2249</link>
      <guid>https://dev.to/alestor_123/after-a-long-break-2249</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--vE8TZ4pG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://images.pexels.com/photos/270404/pexels-photo-270404.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vE8TZ4pG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://images.pexels.com/photos/270404/pexels-photo-270404.jpeg" alt="Coding" width="880" height="494"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  So What Is It About ?
&lt;/h2&gt;

&lt;p&gt;There are some situations where we need to take a long break( whether it's 1 week or a month or years maybe) from your career/hobby, maybe due to some unavoidable situations, but when it comes to getting back to work after a long break can be, little frustrating some times may be because you may have lost your flow to work or may be you get overwhelmed where to started or your mind just went blank all of a sudden . Well, here are some tips that can help you with that. :&lt;/p&gt;

&lt;h2&gt;
  
  
  Don't get depressed :
&lt;/h2&gt;

&lt;p&gt;After a long break, there is a chance that you might have lost your productivity and it's totally fine. We will forget stuff if we don't revise it every now and then, such as best practices or basic stuff . Just try implementing 1 or more projects and that will give you some relief.  &lt;/p&gt;

&lt;h2&gt;
  
  
  Stick on to a specific topic :
&lt;/h2&gt;

&lt;p&gt;Instead of trying to revise all the things, just concentrate on one topic. &lt;/p&gt;

&lt;h2&gt;
  
  
  Polishing your skills  :
&lt;/h2&gt;

&lt;p&gt;Polish your skills by implementing your projects one by one. It can be a pain at first. Try implementing more projects through this process. You can brush up your skills.&lt;/p&gt;

&lt;h2&gt;
  
  
  Set A Schedule :
&lt;/h2&gt;

&lt;p&gt;Try to be more punctual . Try creating ergnomic schedule for yourself so that you can be more productive and try to stick to that schedule for a while.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try to catch up with the current situation :
&lt;/h2&gt;

&lt;p&gt;We are students of life . We never stop learning new stuff  . It is really important to learn new stuff and to stay updated on the once that you have already learned . Developer community is growing day by day new and awesome technology emerge try learning something new . Try watching some tutorial or read articles or books or anything that will feed your mind :D .&lt;/p&gt;

&lt;h2&gt;
  
  
  Start a side project :
&lt;/h2&gt;

&lt;p&gt;Start to do something on your own preferably something that you are interested . When building a side project you run into different issues have to debug and figure out the solutions own your own and thats a great was to polish your skills as a developer&lt;/p&gt;

&lt;h2&gt;
  
  
  Socialising :
&lt;/h2&gt;

&lt;p&gt;Talking to other developers and sharing your experiences is a great way to get you back into to the mood or mindset for coding &lt;/p&gt;

&lt;h2&gt;
  
  
  Dont Push Your Self Too Hard :
&lt;/h2&gt;

&lt;p&gt;Take frequent breaks through the day . Try spending some quality time with your family &lt;/p&gt;

&lt;p&gt;Conclusion :&lt;/p&gt;

&lt;p&gt;Don't Worry Just Stay Awesome :D&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep Coding !!!
&lt;/h2&gt;

&lt;h2&gt;
  
  
  🙏 Share with your friends on &lt;a href="https://twitter.com/intent/tweet?text=%22After%20A%20Long%20Break%22%20by%20%40alestor123%20%23DEVCommunity%20https%3A%2F%2Fdev.to%2Falestor_123%2Fafter-a-long-break-11cg-temp-slug-1054500"&gt;Twitter&lt;/a&gt;
&lt;/h2&gt;

</description>
      <category>productivity</category>
      <category>webdev</category>
      <category>career</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>Usage of git stash</title>
      <dc:creator>Alestor Aldous</dc:creator>
      <pubDate>Fri, 07 May 2021 16:31:05 +0000</pubDate>
      <link>https://dev.to/alestor_123/usage-of-git-stash-3842</link>
      <guid>https://dev.to/alestor_123/usage-of-git-stash-3842</guid>
      <description>&lt;h1&gt;
  
  
  So Whats The Matter ?
&lt;/h1&gt;

&lt;p&gt;from somewhere in the internet&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--O_RUBiu6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://encrypted-tbn0.gstatic.com/images%3Fq%3Dtbn:ANd9GcSHzkErUAOXnV51c7Xh-v9N3zcOMcTXw857Ag%26usqp%3DCAU" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--O_RUBiu6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://encrypted-tbn0.gstatic.com/images%3Fq%3Dtbn:ANd9GcSHzkErUAOXnV51c7Xh-v9N3zcOMcTXw857Ag%26usqp%3DCAU" alt="intro"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Will It ?
&lt;/h2&gt;

&lt;p&gt;Imagine this, you were  working on some feature that hasn’t been completed  and something important came up and you dont  want to commit this partial feature with that urgent feature that you added and during this situations, there are a few options :&lt;/p&gt;

&lt;h1&gt;
  
  
  Horrible one
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Reset all the changes and clean out un-tracked stuff
&lt;/h1&gt;

&lt;p&gt;&lt;code&gt;&lt;br&gt;
git reset HEAD --hard&lt;br&gt;
git clean -fd&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
You can do this if  there isn’t much that you have done since the last commit. But  if you ve spent hours working on it and you are about to complete that? Not a good idea then.&lt;/p&gt;

&lt;h1&gt;
  
  
  The Correct Way :
&lt;/h1&gt;

&lt;p&gt;You should use git-stash&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git stash&lt;/code&gt;&lt;br&gt;
Just consider it like a clipboard, running this command will move all your changes to stash. After that you can start working upon that urgent feature, commit that and once you are ready to start working upon that partial feature that you were working upon back at the point when you had to stash the changes, you can get your stashed changes back to your working copy by : &lt;/p&gt;

&lt;p&gt;&lt;code&gt;git stash apply&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
You can clear your stash by using : &lt;br&gt;
&lt;code&gt;&lt;br&gt;
git stash -u&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
and no it will not stash your untracked file&lt;/p&gt;

&lt;p&gt;for stashing untracked files you need to run : &lt;br&gt;
To stash untracked files as well, you need to do&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git stash -u&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Time for some meme's
&lt;/h1&gt;

&lt;p&gt;from multiple sources : &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--R4J9e4Iu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://encrypted-tbn0.gstatic.com/images%3Fq%3Dtbn:ANd9GcRFa8CX1gEvmZ4VzNwJOzVBtE8lWlieOhslAA%26usqp%3DCAU" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--R4J9e4Iu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://encrypted-tbn0.gstatic.com/images%3Fq%3Dtbn:ANd9GcRFa8CX1gEvmZ4VzNwJOzVBtE8lWlieOhslAA%26usqp%3DCAU" alt="1st"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--oFqEzaNm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://encrypted-tbn0.gstatic.com/images%3Fq%3Dtbn:ANd9GcS4N9SpUE72J9-LGIpthEfDvOM7lHrSmXs-jg%26usqp%3DCAU" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oFqEzaNm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://encrypted-tbn0.gstatic.com/images%3Fq%3Dtbn:ANd9GcS4N9SpUE72J9-LGIpthEfDvOM7lHrSmXs-jg%26usqp%3DCAU" alt="2nd"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yuORWDMq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://encrypted-tbn0.gstatic.com/images%3Fq%3Dtbn:ANd9GcSJ25JEFRxs1Vn7qFDbnwRchVPAHeqDO2r9Kw%26usqp%3DCAU" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yuORWDMq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://encrypted-tbn0.gstatic.com/images%3Fq%3Dtbn:ANd9GcSJ25JEFRxs1Vn7qFDbnwRchVPAHeqDO2r9Kw%26usqp%3DCAU" alt="3rd"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8GNLAy2v--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://anorman728.com/wp-content/uploads/2019/06/gitstash.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8GNLAy2v--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://anorman728.com/wp-content/uploads/2019/06/gitstash.png" alt="4th"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  commit your thoughts in the comment section
&lt;/h1&gt;

&lt;p&gt;# Conclusion&lt;/p&gt;

&lt;h1&gt;
  
  
  Keep Coding !!!
&lt;/h1&gt;

&lt;h1&gt;
  
  
  🙏 Share with your friends on &lt;a href="https://twitter.com/intent/tweet?text=%22Usage%20of%20git%20stash%22%20by%20@alestor123%20%23DEVCommunity%20https://dev.to/alestor_123/usage-of-git-stash-3842"&gt;Twitter&lt;/a&gt;
&lt;/h1&gt;

</description>
      <category>git</category>
      <category>github</category>
      <category>opensource</category>
      <category>coding</category>
    </item>
    <item>
      <title>So Where Do I Deploy My App ??</title>
      <dc:creator>Alestor Aldous</dc:creator>
      <pubDate>Tue, 04 May 2021 17:14:44 +0000</pubDate>
      <link>https://dev.to/alestor_123/so-where-do-i-deploy-my-app-50nd</link>
      <guid>https://dev.to/alestor_123/so-where-do-i-deploy-my-app-50nd</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--w_w4_xXc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/idimevz68hzl65lnc38w.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--w_w4_xXc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/idimevz68hzl65lnc38w.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  So Where Do I Deploy My App ??
&lt;/h1&gt;

&lt;h2&gt;
  
  
  There are serveral platofroms to deploy your app
&lt;/h2&gt;

&lt;h2&gt;
  
  
  It depends on the complexity and use of your app
&lt;/h2&gt;

&lt;h1&gt;
  
  
  If you just want to show case your app you can use one among these 👇
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Heroku
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Heroku is a cloud platform to host your apps simply&lt;/li&gt;
&lt;li&gt;You only need to know basic git commands&lt;/li&gt;
&lt;li&gt;It comes with no cost but you can deploy 5 app max&lt;/li&gt;
&lt;li&gt;Widely used by Developers&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Netlify
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;You can deploy unlimited deploys&lt;/li&gt;
&lt;li&gt;Widely used by Developers&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Github Pages
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;You can deploy unlimited apps&lt;/li&gt;
&lt;li&gt;Can use github actions for automations&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  When It comes to Scalability
&lt;/h1&gt;

&lt;h1&gt;
  
  
  AWS
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;You can deploy unlimited Apps for an developer or an enterprise plan&lt;/li&gt;
&lt;li&gt;Recommended By Developers&lt;/li&gt;
&lt;li&gt;Even Dev.to is deployed on AWS 
# Azure&lt;/li&gt;
&lt;li&gt;You can deploy unlimited Apps for an developer or an enterprise plan&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  And More ..
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Every Service has its own pros and cons
&lt;/h2&gt;

&lt;h1&gt;
  
  
  Keep Coding !!!
&lt;/h1&gt;

&lt;h1&gt;
  
  
  🙏 Share with your friends on &lt;a href="https://twitter.com/intent/tweet?text=%20%20So%20Where%20Do%20I%20Deploy?%20%20https://dev.to/alestor123/so-where-do-i-deploy-eah"&gt;Twitter&lt;/a&gt;
&lt;/h1&gt;

</description>
      <category>devops</category>
      <category>webdev</category>
      <category>aws</category>
      <category>heroku</category>
    </item>
    <item>
      <title>Clean Your Code</title>
      <dc:creator>Alestor Aldous</dc:creator>
      <pubDate>Tue, 04 May 2021 07:40:42 +0000</pubDate>
      <link>https://dev.to/alestor_123/clean-your-code-19dp</link>
      <guid>https://dev.to/alestor_123/clean-your-code-19dp</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--WePytQwN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/engpw4yxpik02dnzg5qt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--WePytQwN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/engpw4yxpik02dnzg5qt.png" alt="title"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  So What Is It About
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;Just chill and read &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;So i was fixing some messy code as i dig deeper i noticed a set of code that could have been easily made better had the developer put a little effort into fixing it during the inception instead of leaving it “Latter ... ”. Legacy code is mostly the result of developers not trying to  “stay clean” . Small things that may seem little while you are doing them, could easily pile up and haunt you or the next developer at later time.you should have the habbit to keep it clean while you are coding. &lt;/p&gt;

&lt;h1&gt;
  
  
  If you dont follow the rules you'll end like this :
&lt;/h1&gt;

&lt;p&gt;(from yoyo code) :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--zq8s8P-H--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://yoyo-www.yoyogames.com/images/pages/blog/finish/1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--zq8s8P-H--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://yoyo-www.yoyogames.com/images/pages/blog/finish/1.png" alt="yoyocode"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What about cleaning up the messy code that you wrote while  waiting for the PR approval ?
&lt;/h2&gt;

&lt;p&gt;Ans :  Bad code is going to attract more bad code and force you  to refactor it “later..”. Do it  yourself  teach yourself the habit of clean coding instead of leaving it for “refactoring later”.&lt;/p&gt;

&lt;h3&gt;
  
  
  Fell free to discuss about you refactoring methods
&lt;/h3&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Keep Coding !!!
&lt;/h1&gt;

&lt;h1&gt;
  
  
  🙏 Share with your friends on &lt;a href="https://twitter.com/intent/tweet?text=%22Clean%20Your%20Code%22%20by%20@alestor123%20%23DEVCommunity%20https://dev.to/alestor_123/clean-your-code-19dp"&gt;Twitter&lt;/a&gt;
&lt;/h1&gt;

</description>
      <category>codequality</category>
      <category>codereview</category>
      <category>discuss</category>
      <category>opensource</category>
    </item>
    <item>
      <title>You'r afraid of what ?</title>
      <dc:creator>Alestor Aldous</dc:creator>
      <pubDate>Mon, 03 May 2021 15:59:38 +0000</pubDate>
      <link>https://dev.to/alestor_123/you-are-afraid-of-what-5b44</link>
      <guid>https://dev.to/alestor_123/you-are-afraid-of-what-5b44</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0sx6_JGK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b1fhnmyrmaprx1eu1sdp.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0sx6_JGK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b1fhnmyrmaprx1eu1sdp.jpg" alt="Title"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  So Whats the matter ?
&lt;/h1&gt;

&lt;p&gt;As Developers we have a lot of projects flying around other hoping its gonna take over the world. Some of them do their work we wont get the same  excitement after we are starting a project and you'll end in second thoughts and you will come up with thoughts of scrapping them thus not getting anything out of them except the loss of time. These excuses,mostly start with, it won’t work because (some excuse) Like : &lt;/p&gt;

&lt;p&gt;..I don’t have enough money&lt;/p&gt;

&lt;p&gt;..no body is going to invest&lt;/p&gt;

&lt;p&gt;..it ain’t worth the risk&lt;/p&gt;

&lt;p&gt;All of us have questions like this when we think of accomplishing something new. And it is usually the questions like this which hinder our way to the success.  In my experience, I have come to terms with the fact that it all depends on your reaction whether you take the excuses like these as challenges to be tackled or as the reasons for why you will fail.&lt;/p&gt;

&lt;h1&gt;
  
  
  Thinking success conditions your mind to create plans that produce success. Thinking failure does the exact opposite.
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Failure thinking conditions the mind to think other thoughts that create failure.
&lt;/h1&gt;

&lt;p&gt;I have done so many side projects and put them on the shelf, staying in the safe zone . And you should change that.&lt;/p&gt;

&lt;p&gt;And thats it. What are you afraid of? What is it that is holding you back? What is your excuse to not start? put your the comment section below&lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Keep Coding !!!
&lt;/h1&gt;

&lt;h1&gt;
  
  
  🙏 Share with your friends on &lt;a href="https://twitter.com/intent/tweet?text=%20Your%20Afraid%20Of%20What%20?%20https://dev.to/alestor_123/you-are-afraid-of-what-5b44"&gt;Twitter&lt;/a&gt;
&lt;/h1&gt;

</description>
      <category>webdev</category>
      <category>startup</category>
      <category>discuss</category>
      <category>watercooler</category>
    </item>
    <item>
      <title>After A Long Time</title>
      <dc:creator>Alestor Aldous</dc:creator>
      <pubDate>Sat, 01 May 2021 17:34:07 +0000</pubDate>
      <link>https://dev.to/alestor_123/after-a-long-time-44eh</link>
      <guid>https://dev.to/alestor_123/after-a-long-time-44eh</guid>
      <description>&lt;h1&gt;
  
  
  After A Long Time
&lt;/h1&gt;

&lt;p&gt;Hey i wasnt here for a while. But im back and i can assure you that i will fill your brain with knowledge and i will be creating a podcast for sharing my experiences with the community and an awesome newsletter and im currently developing a project that will help you reach your blog to the world via twitter . Its a long time i have written blog but i can assure you that now on ownwards i will be filling you brain juicy knwoledge. I can assure you that my blogs will not make you bored  &lt;/p&gt;

</description>
      <category>back</category>
      <category>blog</category>
    </item>
    <item>
      <title>So Declare Code War</title>
      <dc:creator>Alestor Aldous</dc:creator>
      <pubDate>Sat, 01 May 2021 17:26:07 +0000</pubDate>
      <link>https://dev.to/alestor_123/so-declare-code-war-18eo</link>
      <guid>https://dev.to/alestor_123/so-declare-code-war-18eo</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--GW2ORCuF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ib0jmt8kiey9ijt6rfj3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--GW2ORCuF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ib0jmt8kiey9ijt6rfj3.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  So What Is Code Wars ??
&lt;/h1&gt;

&lt;h4&gt;
  
  
  Code Wars is a learning platform where developers improve their skills by coding challenges &lt;a href="http://codewars.com/"&gt;Code Wars&lt;/a&gt;
&lt;/h4&gt;

&lt;h1&gt;
  
  
  So What Should I Do Now ??
&lt;/h1&gt;

&lt;h4&gt;
  
  
  Go to the &lt;a href="http://codewars.com/"&gt;Code Wars&lt;/a&gt; webpage and sign up and start coding try accepting different challenges
&lt;/h4&gt;

&lt;p&gt;and post your progress on twitter and github&lt;/p&gt;

&lt;h1&gt;
  
  
  So What Are The Benefits ??
&lt;/h1&gt;

&lt;h4&gt;
  
  
  It will siginificantly increase your coding skills
&lt;/h4&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;h1&gt;
  
  
  Keep Coding !!!
&lt;/h1&gt;

&lt;h1&gt;
  
  
  🙏 Share with your friends on &lt;a href="https://twitter.com/intent/tweet?text=%20%20So%20Declare%20Code%20War%20%20%20https://dev.to/alestor123/so-declare-code-war-5b2f%22Share%20It%22"&gt;Twitter&lt;/a&gt;
&lt;/h1&gt;

&lt;h4&gt;
  
  
  👇 Find more posts on the following topics
&lt;/h4&gt;

</description>
      <category>dev</category>
      <category>coding</category>
      <category>practice</category>
    </item>
    <item>
      <title>Well This Is My Post</title>
      <dc:creator>Alestor Aldous</dc:creator>
      <pubDate>Sat, 01 May 2021 10:51:05 +0000</pubDate>
      <link>https://dev.to/alestor_123/well-this-is-my-post-3fic</link>
      <guid>https://dev.to/alestor_123/well-this-is-my-post-3fic</guid>
      <description>&lt;h1&gt;
  
  
  yolo
&lt;/h1&gt;

</description>
    </item>
  </channel>
</rss>
