<?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: Dougie Hawes</title>
    <description>The latest articles on DEV Community by Dougie Hawes (@slartybartfast).</description>
    <link>https://dev.to/slartybartfast</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%2F2910783%2Fd0d5306f-adf9-4aed-accb-7b2b5838a607.png</url>
      <title>DEV Community: Dougie Hawes</title>
      <link>https://dev.to/slartybartfast</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/slartybartfast"/>
    <language>en</language>
    <item>
      <title>React Native Crash Course+ | Build a Mobile App In 3 Hours</title>
      <dc:creator>Dougie Hawes</dc:creator>
      <pubDate>Mon, 17 Mar 2025 12:46:00 +0000</pubDate>
      <link>https://dev.to/slartybartfast/react-native-crash-course-build-a-mobile-app-in-3-hours-1m49</link>
      <guid>https://dev.to/slartybartfast/react-native-crash-course-build-a-mobile-app-in-3-hours-1m49</guid>
      <description>&lt;p&gt;I've always admired @bradtraversy for his clear, plain-English explanations, and this video is no exception. His breakdown of ReactNative is a game-changer—no fluff, just practical insights. Every time I watch his content, I walk away with more confidence in my coding skills. 🎯&lt;/p&gt;

&lt;p&gt;If you've ever struggled to wrap your head around asynchronous code, this is a must-watch!&lt;/p&gt;

&lt;p&gt;👉 Check it out: React Native Crash Course+ | Build a Mobile App In 3 Hours&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=bCpFbERgj7s&amp;amp;t=1854s" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=bCpFbERgj7s&amp;amp;t=1854s&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Midweek grind? What's your weirdest comfort habit? 🧘‍♂️☕ I’m talking about the unique (or embarrassing) ways you recharge when the week hits hard. Share your best Hump Day hacks—I’ll go first!" #HumpDayHacks #SelfCareForCoders #ProductivityBoost</title>
      <dc:creator>Dougie Hawes</dc:creator>
      <pubDate>Wed, 12 Mar 2025 10:55:48 +0000</pubDate>
      <link>https://dev.to/slartybartfast/midweek-grind-whats-your-weirdest-comfort-habit-im-talking-about-the-unique-or-2bi6</link>
      <guid>https://dev.to/slartybartfast/midweek-grind-whats-your-weirdest-comfort-habit-im-talking-about-the-unique-or-2bi6</guid>
      <description></description>
      <category>discuss</category>
      <category>productivity</category>
    </item>
    <item>
      <title>A brief guide to debriefing. 6 questions to ask yourself after every coding session</title>
      <dc:creator>Dougie Hawes</dc:creator>
      <pubDate>Mon, 10 Mar 2025 11:40:15 +0000</pubDate>
      <link>https://dev.to/slartybartfast/a-brief-guide-to-debriefing-6-questions-to-ask-yourself-after-every-coding-session-k3b</link>
      <guid>https://dev.to/slartybartfast/a-brief-guide-to-debriefing-6-questions-to-ask-yourself-after-every-coding-session-k3b</guid>
      <description>&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%2Fogcvzvjbcrrogmkwxm91.jpg" 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%2Fogcvzvjbcrrogmkwxm91.jpg" alt="a cartoon like image of a bar chart on being viewed through a spyglass" width="640" height="360"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Productivity isn’t just about working harder—it’s about working smarter. As developers, we face an endless barrage of distractions, from notifications to mindless scrolling, that can derail our flow. Instead of just trying to “power through,” what if we took a more strategic approach? By asking ourselves the right questions, we can pinpoint inefficiencies, recognize our biggest focus-killers, and refine our workflow. Here are six simple but powerful questions to help you eliminate distractions, boost efficiency, and become a better coder every day.&lt;/p&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%2Fgvjr2m2xoijxbjirv3w0.jpg" 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%2Fgvjr2m2xoijxbjirv3w0.jpg" alt="a question mark written on a chalk board" width="639" height="387"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;1. What did I do repeatedly? What could have been done once to prevent that?&lt;/h2&gt;

&lt;p&gt;Repetition isn’t always a sign of productivity—it can be a sign of inefficiency. As programmers, we follow the DRY (Don't Repeat Yourself) principle in our code, but do we apply it to our workflow?&lt;/p&gt;

&lt;p&gt;Did you find yourself manually performing the same task multiple times? Automate it.&lt;br&gt;
Were you answering the same questions over and over? Create documentation or templates.&lt;br&gt;
Did you waste time setting up your work environment? Streamline your process with scripts or shortcuts.&lt;br&gt;
Identifying repetitive tasks and finding ways to optimize them will free up time and mental energy for more meaningful work.&lt;/p&gt;

&lt;h2&gt;2. When did I "sin" (give in to a distracting habit)? What better could have fulfilled that need?&lt;/h2&gt;

&lt;p&gt;Distraction isn’t just about lack of discipline—it’s about unmet needs. Charles Duhigg, in The Power of Habit, explains that habits form because they satisfy cravings, whether for stimulation, relaxation, or social connection.&lt;/p&gt;

&lt;p&gt;Did you scroll endlessly on social media? Maybe you needed a mental break—try a short walk instead.&lt;br&gt;
Were you watching YouTube instead of coding? Perhaps you needed a structured learning break—watch something relevant.&lt;br&gt;
Did you keep switching tasks? You might have been avoiding something difficult—break it down into smaller steps.&lt;br&gt;
By identifying what you really needed in the moment, you can replace distractions with more effective habits that support your goals.&lt;/p&gt;

&lt;h2&gt;3. Did I beat my greatest rival (you yesterday)?
Your biggest competition isn’t someone else—it’s the version of you from yesterday. Progress isn’t always dramatic; sometimes, it’s about small, consistent wins.&lt;/h2&gt;

&lt;p&gt;Did you write better code today than yesterday? Even a small refactor counts.&lt;br&gt;
Did you spend less time distracted? A few extra minutes of focus is a win.&lt;br&gt;
Did you learn something new? Growth, no matter how small, keeps you moving forward.&lt;br&gt;
Rather than chasing perfection, focus on daily improvement. One step at a time, you’ll outpace the old you.&lt;/p&gt;

&lt;h2&gt;4. What slowed me down, and how can I remove that barrier?&lt;/h2&gt; 

&lt;p&gt;Distractions, inefficiencies, and friction points in your workflow can quietly steal hours of your time. Identifying them is the first step to eliminating them.  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Did you spend too much time searching for files or fixing errors? Streamline your setup.
&lt;/li&gt;
&lt;li&gt;Did notifications, social media, or emails pull you away? Set boundaries.
&lt;/li&gt;
&lt;li&gt;Did unclear requirements or lack of focus lead to wasted effort? Plan better upfront.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each day, remove one small obstacle, and over time, your workflow will become a well-oiled machine.  &lt;/p&gt;

&lt;h2&gt;5. Did I use my energy wisely?&lt;/h2&gt;

&lt;p&gt;Productivity isn’t just about time management—it’s about energy management. Your brain isn’t a machine; it needs the right conditions to perform at its best.  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Did I schedule deep work for my peak energy hours?
&lt;/li&gt;
&lt;li&gt;Did I take breaks to refresh my mind instead of pushing through exhaustion?
&lt;/li&gt;
&lt;li&gt;Did I fuel myself with rest, food, and movement instead of burning out?
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Work with your natural rhythms, not against them. When you use energy efficiently, you get more done in less time.  &lt;/p&gt;

&lt;h2&gt;6. What do I need to reset to be ready to do it again?  &lt;/h2&gt;

&lt;p&gt;Sustainable productivity isn’t about sprinting—it’s about pacing yourself. Ending each day with a reset ensures you start fresh tomorrow.  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What lingering tasks or thoughts need closure? Write them down.
&lt;/li&gt;
&lt;li&gt;Does my workspace need tidying to prevent friction tomorrow?
&lt;/li&gt;
&lt;li&gt;What mindset do I want to bring into the next day?
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A reset doesn’t just prepare you for tomorrow; it tells your brain the workday is over, helping you switch off and recharge.&lt;/p&gt;

&lt;h1&gt;Wrapping Up&lt;/h1&gt; 

&lt;p&gt;Productivity isn’t about squeezing more tasks into your day—it’s about making intentional choices that create flow, minimize distractions, and sustain your energy. By reflecting on these questions daily, you’ll build habits that make deep, meaningful work feel effortless. The goal isn’t just to work faster; it’s to work smarter, with purpose and balance.  &lt;/p&gt;

&lt;p&gt;What’s one small change you can make today to improve your focus and efficiency?  &lt;/p&gt;
&lt;h2&gt;
  
  
  Productivity #Neurodiversity #SelfImprovement #DeepWork #Focus #CodingLife #MindsetMatters #Efficiency #WorkSmarter #MERNStack #Developers
&lt;/h2&gt;

</description>
    </item>
    <item>
      <title>Build a MERN stack app (without over complicating it)</title>
      <dc:creator>Dougie Hawes</dc:creator>
      <pubDate>Thu, 06 Mar 2025 09:35:13 +0000</pubDate>
      <link>https://dev.to/slartybartfast/build-a-mern-stack-app-without-over-complicating-it-g2a</link>
      <guid>https://dev.to/slartybartfast/build-a-mern-stack-app-without-over-complicating-it-g2a</guid>
      <description>&lt;h1&gt;
  
  
  Setting Up a Basic MERN Stack Project
&lt;/h1&gt;

&lt;p&gt;This guide aligns with an upcoming video on my YouTube channel, where I'll walk through setting up a basic MERN stack project from scratch. Let's get started!&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Initialize the Project
&lt;/h2&gt;

&lt;p&gt;Start by creating a project directory and navigating into it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;mkdir &lt;/span&gt;mern-app &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cd &lt;/span&gt;mern-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  2. Set Up the Backend (Express + Node.js)
&lt;/h2&gt;

&lt;p&gt;Create a backend folder and initialize a Node.js project:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;mkdir &lt;/span&gt;backend &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cd &lt;/span&gt;backend
npm init &lt;span class="nt"&gt;-y&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Install necessary dependencies:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install &lt;/span&gt;express cors dotenv
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Create an &lt;code&gt;index.js&lt;/code&gt; file in the &lt;code&gt;backend&lt;/code&gt; directory and add:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;express&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;express&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;cors&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;cors&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;app&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;express&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;PORT&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;PORT&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="mi"&gt;5000&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nx"&gt;app&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;use&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;cors&lt;/span&gt;&lt;span class="p"&gt;());&lt;/span&gt;

&lt;span class="nx"&gt;app&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;/api&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="nx"&gt;req&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="na"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Hello World!&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="nx"&gt;app&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;listen&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;PORT&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;`Server running on port &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;PORT&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3. Set Up the Frontend (React)
&lt;/h2&gt;

&lt;p&gt;Go back to the root directory and create a React app:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; ..
npx create-react-app frontend
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Navigate into the &lt;code&gt;frontend&lt;/code&gt; directory and install Axios to handle API requests:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd &lt;/span&gt;frontend
npm &lt;span class="nb"&gt;install &lt;/span&gt;axios
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace the contents of &lt;code&gt;src/App.js&lt;/code&gt; with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;useEffect&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;useState&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;react&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;axios&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;axios&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="nf"&gt;App&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;message&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;setMessage&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;useState&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;""&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

  &lt;span class="nf"&gt;useEffect&lt;/span&gt;&lt;span class="p"&gt;(()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;axios&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;http://localhost:5000/api&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;then&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nf"&gt;setMessage&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;message&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="p"&gt;});&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="p"&gt;{&lt;/span&gt;&lt;span class="nx"&gt;message&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="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="nx"&gt;App&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  4. Run Both Frontend and Backend Simultaneously
&lt;/h2&gt;

&lt;p&gt;Install &lt;code&gt;concurrently&lt;/code&gt; in the root directory:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; ..
npm &lt;span class="nb"&gt;install &lt;/span&gt;concurrently &lt;span class="nt"&gt;--save-dev&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Modify &lt;code&gt;package.json&lt;/code&gt; in the root directory to include a start script:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"scripts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"start"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"concurrently &lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;cd backend &amp;amp;&amp;amp; node index.js&lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt; &lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;cd frontend &amp;amp;&amp;amp; npm start&lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, run the entire project with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Your backend will serve "Hello World!" to the frontend, which will display it in an &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; tag. Stay tuned for the video where I demonstrate this process in action! 🚀&lt;/p&gt;

&lt;h1&gt;
  
  
  mern #react #node #express #webdevelopment #javascript #fullstack #tutorial #coding #programming
&lt;/h1&gt;

</description>
    </item>
    <item>
      <title>Finding Productivity Through Coding: A Neurodiverse Journey</title>
      <dc:creator>Dougie Hawes</dc:creator>
      <pubDate>Tue, 04 Mar 2025 11:54:17 +0000</pubDate>
      <link>https://dev.to/slartybartfast/finding-productivity-through-coding-a-neurodiverse-journey-n38</link>
      <guid>https://dev.to/slartybartfast/finding-productivity-through-coding-a-neurodiverse-journey-n38</guid>
      <description>&lt;p&gt;My name is Doug, and I am a neurodiverse creative. Diagnosed with being on the autistic spectrum at the age of 20, I’m now 42 and have had a long journey of self-discovery and overcoming challenges that many people may never fully understand. I live in Cambridgeshire, UK, with my bearded dragon, who is quite the character and often an excellent companion during my late-night coding sessions.&lt;/p&gt;

&lt;p&gt;Growing up, I didn’t hear the word "intelligent" directed at me often. In fact, I was only called intelligent twice before I was 20. Before that, my experience of school was one of intense bullying and ridicule. As a socially awkward, eccentric individual, I didn’t quite fit in with my peers. This often led to feelings of isolation, and at times, a sense of frustration about how others saw me. Despite these challenges, I always found solace and freedom in my creative side — particularly through singing and comedy. Performing in front of people became a safe space, an outlet where I could express myself without fear of judgment.&lt;/p&gt;

&lt;p&gt;Yet, even though I found a creative outlet, something deep inside me was always intrigued by the more logical and technical aspects of life. I have always been naturally drawn to the way things work — mechanics, electronics, and of course, computing. The left-brain thinking of problem-solving, the way systems fit together, and how everything has a purpose or function within a larger framework — all of these ideas fascinated me.&lt;/p&gt;

&lt;p&gt;About five years ago, I took a leap into the world of coding. It wasn’t a smooth transition or even something I had planned, but rather a hobby that evolved into a passion. It all started when I heard a story — the comical scenario of a time traveller. The idea was that this time traveller would enter the past and amaze people with futuristic technology, explaining how it works and captivating the crowd. However, when someone inevitably asked the question, "So, how does it work?" the time traveller would be left dumbfounded, unable to explain the mechanisms behind the magic.&lt;/p&gt;

&lt;p&gt;This concept, though fictional and humorous, sparked something in me. It made me wonder — how could anyone truly be a part of shaping the future if they didn’t understand the fundamental workings behind the technology they used every day? And so, driven by a curiosity for how things worked at a deeper level, I decided to give coding a shot.&lt;/p&gt;

&lt;p&gt;I signed up for Codecademy, and what began as a casual exploration quickly snowballed into something much more. It wasn’t just about learning to code — it was about unlocking creativity through problem-solving and technology. Over time, I became increasingly obsessed with the idea of creating something new and building systems that could positively impact people's lives. Before I knew it, I had trained as a MERN stack web developer (MongoDB, Express, React, Node.js) and started to apply these skills to real projects.&lt;/p&gt;

&lt;p&gt;Productivity Through Neurodiversity and Coding&lt;br&gt;
For me, the journey to becoming a web developer wasn't just about acquiring technical skills. It was a way of channeling my neurodiverse thinking in a productive and positive direction. There’s a misconception that autism or being neurodivergent is something that makes us “less” capable of achieving in certain fields, but I’ve found it to be a strength. The way my brain processes information — with precision and attention to detail — has proven incredibly valuable in the world of development, where logic and structure reign supreme.&lt;/p&gt;

&lt;p&gt;In fact, coding became my secret weapon for improving my productivity. Before diving into web development, I had struggled with maintaining focus and staying productive in other areas of my life. Neurodiversity brings unique challenges, especially when it comes to staying on task and managing time effectively. But coding, with its clear problem-solving framework, allowed me to develop a sense of structure. The satisfaction of solving problems and building something functional gave me a sense of accomplishment that I hadn’t experienced in quite some time.&lt;/p&gt;

&lt;p&gt;As I delved deeper into development, I started to incorporate strategies that helped me maintain productivity while still embracing my creative side. Here are a few practices I’ve found helpful in balancing both:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Breaking Tasks Into Smaller Chunks&lt;br&gt;
For a neurodiverse individual, tasks that feel too large or vague can become overwhelming, leading to procrastination. Coding has taught me to break down tasks into smaller, manageable chunks. For example, when working on a complex project, I might break it down into smaller features (e.g., building the front-end user interface, writing API endpoints, testing, and debugging). This allows me to focus on one thing at a time, making it easier to stay on track.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Establishing a Routine&lt;br&gt;
One of the biggest productivity challenges I faced early on was staying consistent. As a creative, I’ve often found it difficult to stick to rigid routines. However, I've learned that establishing a flexible but consistent routine can drastically increase productivity. This involves setting aside specific time blocks for coding, learning, and self-care. Over time, this has helped me create a rhythm and maintain momentum in my projects.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Leveraging Passion for Problem-Solving&lt;br&gt;
When you love something, it’s much easier to stay motivated. For me, the logical flow of coding provides a sense of satisfaction that fuels my productivity. Whenever I’m stuck, I treat it as a puzzle to solve rather than a roadblock. This shift in mindset has made coding less of a chore and more of an exciting challenge. It’s become my own form of creative expression, and that drives my focus.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Tracking Progress and Reflecting&lt;br&gt;
It’s easy to get caught up in the day-to-day and lose sight of how much progress you’ve made. I’ve started keeping a journal of my coding journey, noting down tasks completed, problems solved, and new skills learned. Reflecting on my progress, no matter how small, gives me a sense of accomplishment and fuels my drive to continue learning and improving.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The Future of My Coding Journey&lt;br&gt;
Looking forward, I hope to continue expanding my skills, particularly with React, Node.js, and full-stack development. I’m currently working on a social media app where users can share their stories through photos, videos, and audio. It’s a thrilling project, and each new feature I build brings a wave of excitement and learning.&lt;/p&gt;

&lt;p&gt;I believe that the intersection of creativity and technical ability is where some of the most exciting things happen in the world of computing. As I continue this journey, I want to encourage others — especially those who are neurodiverse — to explore their potential in the world of coding. It's a space that welcomes unique thinking and diverse perspectives, and there’s a place for everyone in this field.&lt;/p&gt;

&lt;p&gt;Whether you're just starting or have been coding for years, I urge you to stay curious and keep pushing the boundaries of what’s possible. Coding is not just about writing lines of code; it's about creating something new, solving problems, and, ultimately, making a positive impact. For me, it’s been a transformative journey, and I can’t wait to see where it takes me next.&lt;/p&gt;

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