<?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: Birasa Divine</title>
    <description>The latest articles on DEV Community by Birasa Divine (@birasadivine).</description>
    <link>https://dev.to/birasadivine</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%2F3179746%2Fe6938018-8653-4520-9365-9349adc31a3b.jpeg</url>
      <title>DEV Community: Birasa Divine</title>
      <link>https://dev.to/birasadivine</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/birasadivine"/>
    <language>en</language>
    <item>
      <title>🚀 Kicking Off My Project: What I’ve Learned and the Tools Guiding Me So Far</title>
      <dc:creator>Birasa Divine</dc:creator>
      <pubDate>Wed, 28 May 2025 20:12:30 +0000</pubDate>
      <link>https://dev.to/birasadivine/kicking-off-my-project-what-ive-learned-and-the-tools-guiding-me-so-far-36gl</link>
      <guid>https://dev.to/birasadivine/kicking-off-my-project-what-ive-learned-and-the-tools-guiding-me-so-far-36gl</guid>
      <description>&lt;p&gt;Over the past few weeks, I’ve been working on something exciting; I was setting up the foundation for an app that helps reduce food waste by connecting people with food that's about to expire and selling it at a lower price. In this post, I’d love to share what I’ve learned, the tools I’ve discovered, and how they'll help me continue growing as a developer.&lt;/p&gt;

&lt;p&gt;🧱 Getting Started the Right Way&lt;br&gt;
When you're starting a new project, it can be tempting to jump straight into coding. But I learned that taking the time to set things up properly can save a lot of headaches later. For this project, I chose a tech stack that’s popular and powerful: React, TypeScript, and Vite.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;React helps build user interfaces quickly and efficiently.&lt;/li&gt;
&lt;li&gt;TypeScript catches errors early by adding type safety to JavaScript.&lt;/li&gt;
&lt;li&gt;Vite is a fast build tool that makes development smoother.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Alongside these, I also added tools like ESLint and Prettier. ESLint checks my code for errors, and Prettier makes sure everything is formatted nicely.&lt;/p&gt;

&lt;p&gt;🤖 Automating for Better Code&lt;br&gt;
One of the biggest lessons I’ve learned is how useful automation can be. I added Husky and lint-staged to my project. These tools automatically run checks every time I try to make a commit.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm run build
npx lint-staged
npm run type:check
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This helps catch mistakes early before the code is pushed to GitHub or shared with others.&lt;br&gt;
It felt a bit complex at first, but once I got it working, I saw how much time and trouble it can save in the long run.&lt;br&gt;
🌱 What I’ve Learned So Far&lt;br&gt;
This setup process has taught me a lot. For example:&lt;br&gt;
I learned how to resolve merge conflicts, especially in files like package.json, which can be tricky when multiple people work on the same project.&lt;br&gt;
I now understand how helpful tools like Prettier, ESLint, and Husky can be to keep code clean and organized.&lt;br&gt;
Prettier:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "useTabs": true,
  "jsxSingleQuote": false,
  "tabWidth": 2,
  "arrowParens": "avoid",
  "singleQuote": true
}

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

&lt;/div&gt;



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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import js from "@eslint/js";
import globals from "globals";
import tseslint from "typescript-eslint";
import pluginReact from "eslint-plugin-react";
import { defineConfig } from "eslint/config";


export default defineConfig([
  { files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"], plugins: { js }, extends: ["js/recommended"] },
  { files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"], languageOptions: { globals: globals.browser } },
  tseslint.configs.recommended,
  pluginReact.configs.flat.recommended,
  {
    rules: {
      'react/react-in-jsx-scope': 'off',
    },  
  }
]);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I improved my Git skills, especially things like branching, committing with clear messages, stashing changes, and rebasing.&lt;/p&gt;

&lt;p&gt;🔧 Tools That Will Help Me Move Forward&lt;br&gt;
Now that my project is set up, here are the tools I’ll be relying on as I continue building:&lt;br&gt;
Husky: Makes sure all code changes are checked before being saved.&lt;br&gt;
Prettier + ESLint: Keeps my code readable and bug-free.&lt;br&gt;
Vite: Speeds up development and makes testing my code faster.&lt;/p&gt;

&lt;p&gt;If you're just starting out on your own project, my advice is: take the time to learn these tools. They may seem small, but they make a big difference. And don't be afraid to break things, that’s often where the best learning happens.&lt;br&gt;
Thanks for reading! I’ll be sharing more updates as this journey continues. Feel free to connect with me or share your thoughts; I’d love to hear how others are setting up their projects, too.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
