<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Sahil Shubham]]></title><description><![CDATA[Full Stack Engineer who enjoys working with UI/UX.]]></description><link>https://blog.sahilshubham.com</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Apr 2026 05:51:11 GMT</lastBuildDate><atom:link href="https://blog.sahilshubham.com/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[How To Setup a React Project With Vite]]></title><description><![CDATA[Typically, you create a React project with create-react-app (CRA) which takes a lot of time to install over 140mb of dependencies. Vite is a lightweight tool that takes up 31 MB of dependencies, which will save time in starting a new project. Vite al...]]></description><link>https://blog.sahilshubham.com/react-with-vite</link><guid isPermaLink="true">https://blog.sahilshubham.com/react-with-vite</guid><category><![CDATA[React]]></category><category><![CDATA[vite]]></category><category><![CDATA[react project ]]></category><category><![CDATA[react setup]]></category><dc:creator><![CDATA[Sahil Shubham]]></dc:creator><pubDate>Tue, 30 Jan 2024 10:40:09 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1706611069893/4f253ad9-73e1-41ed-bda1-63ee56a1ba07.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Typically, you create a React project with create-react-app (<a target="_blank" href="https://create-react-app.dev/">CRA</a>) which takes a lot of time to install over 140mb of dependencies. <a target="_blank" href="https://vitejs.dev/">Vite</a> is a lightweight tool that takes up 31 MB of dependencies, which will save time in starting a new project. Vite also uses the browser-native ES (<a target="_blank" href="https://ecma-international.org/publications-and-standards/standards/ecma-262/">ECMAScript</a>) modules for linking to JavaScript files, which doesn’t rebuild the entire bundle after each file change. These differences result in a faster experience when creating, updating, and building a React App with Vite.</p>
<h3 id="heading-prerequisites">Prerequisites</h3>
<p>Before we begin, ensure that you have the following installed on your computer:</p>
<ol>
<li><p>Node.js (version 14.0 or above)</p>
</li>
<li><p><code>npm</code> or <code>yarn</code></p>
</li>
</ol>
<p>You should also have a basic understanding of React and JavaScript.</p>
<h3 id="heading-setting-up-the-react-project">Setting up the React project</h3>
<p>To create a fresh React project with Vite, run the following commands</p>
<pre><code class="lang-bash">yarn create vite
</code></pre>
<p>This command will run the Vite executable from the remote <code>npm</code> repository.</p>
<p>After the command finishes executing, it will prompt to enter your project name. You can enter your desired project name or type <code>./</code> to use the same parent directory as your project folder.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1706599021621/22130c61-db5f-4f1c-ae06-cf5f6c29d16c.png" alt class="image--center mx-auto" /></p>
<p>For this tutorial, we will use <code>test-vite-project</code> as the project name.</p>
<pre><code class="lang-bash">test-vite-project
</code></pre>
<p>Once the project name is entered, you will be prompted to select the framework. Select <code>&gt; React</code> using the arrow-keys.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1706599114386/7381f56b-341e-4ef4-a6af-1bc97967cb69.png" alt class="image--center mx-auto" /></p>
<p>After that, select your desired language type. I will be selecting Typescript,</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1706599181993/0a6c9b3c-af63-4dce-acea-25dcbb850354.png" alt class="image--center mx-auto" /></p>
<p>After setting up the framework, you will see an output that the project has been scaffolded. Vite will then instruct you to install dependencies.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1706599222491/e1dc5446-983e-4553-bda5-1b4b9be68c4d.png" alt class="image--center mx-auto" /></p>
<p>Go to the project root directory,</p>
<pre><code class="lang-bash"><span class="hljs-built_in">cd</span> test-vite-project
</code></pre>
<p>Then, install all the dependencies using the following command,</p>
<pre><code class="lang-bash">yarn
</code></pre>
<p>After all the dependencies are installed, execute the following command to run your local server.</p>
<pre><code class="lang-bash">yarn run dev
</code></pre>
<p>You will see the following output,</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1706599325735/45f9505a-170c-4c8f-943c-0067217e8719.png" alt class="image--center mx-auto" /></p>
<p>Next, open your browser and visit <code>http://localhost:5173/</code>. The default React project will be running on port <code>5173</code>:</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1706599507987/c3ce46c1-6a3c-4142-a8fc-a5244c36bc00.png" alt class="image--center mx-auto" /></p>
<p>When you see this app running, you have successfully setup a React project with Vite. You can now start working on your Application. Open the project in any code editor and Start Coding! 🎉</p>
<h3 id="heading-conclusion">Conclusion</h3>
<p>You’ve just created a new React application using Vite.js. Vite makes development quicker and simpler, letting you focus and spend more time on building your app and less time setting up your work environment.</p>
]]></content:encoded></item><item><title><![CDATA[My Journey to Becoming a Developer]]></title><description><![CDATA[My journey as a software developer started with a simple school project. I was always fascinated by technology, but it wasn't until I put some extra effort into creating a stylish HTML page for a school project that I uncovered my talent for coding a...]]></description><link>https://blog.sahilshubham.com/journey</link><guid isPermaLink="true">https://blog.sahilshubham.com/journey</guid><category><![CDATA[Learning Journey]]></category><category><![CDATA[Developer]]></category><category><![CDATA[Experience ]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[sahil]]></category><category><![CDATA[sahil shubham]]></category><dc:creator><![CDATA[Sahil Shubham]]></dc:creator><pubDate>Tue, 07 Feb 2023 18:30:00 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1706610349220/7040d294-c2a8-4816-a913-9666b25aa650.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>My journey as a software developer started with a simple school project. I was always fascinated by technology, but it wasn't until I put some extra effort into creating a stylish HTML page for a school project that I uncovered my talent for coding and design. Everyone in my class was impressed and this small win only fueled my desire to continue learning and exploring the world of technology.</p>
<h2 id="heading-introduction">Introduction</h2>
<p>Hi, I'm <strong>Sahil Shubham</strong>, a 22-year-old full-stack developer with a focus on MERN and UI/UX design. I'm in my final year of computer science engineering. In this blog, I'll recount my experiences as a developer from the beginning to today, including the challenges I've overcome and the lessons I've learned.</p>
<h2 id="heading-the-beginning">The Beginning</h2>
<p>My first ever interaction with tech was way early in the summer of 2010. I was visiting my friend's house to check out his brand-new PC. As we fired up the classic game "<strong>Road Rash</strong>" (this was the first video game I ever played), I was amazed. I remember the excitement I felt as I controlled the motorbike and watched the visuals react to my inputs. That moment was the starting pistol for my love of gaming. I wanted to play all sorts of games. I was hooked.</p>
<p><img src="https://inline4.in/wp-content/uploads/2022/09/types-of-bikes-2.jpg" alt="Image of the game Road Rash" class="image--center mx-auto" /></p>
<p><em>(Ah! This brings back memories)</em></p>
<p>Later in 2014, when I was in 8th grade, I had to make a school project using HTML &amp; CSS. I wanted to stand out and make the coolest project ever, so I went the extra mile and hit the internet for some ways to make the website flashy. I ended up creating the fanciest landing page, making use of the <code>&lt;marquee&gt;</code> tag to make the content move left and right. The website was a hit, and everyone was amazed by my creation. I felt so proud and happy that I wanted to go home asap and create something even better.</p>
<p>Fast forward to my early programming days around 7 years ago from now. I had played a lot of indie games and wanted to create one on my own. So, I set out to build a horror game for PC, even though I hadn't started my formal education in computer programming yet. But I was determined to build this game! And somehow I did! I created the silliest and the most goofiest horror game, <a target="_blank" href="https://gamejolt.com/games/NightSteals/238841"><strong>NightSteals</strong></a>. I uploaded it to an online store and it quickly gained some traction with more than 500 downloads and around 40 total reviews.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1675130137397/4a880b69-1ad0-472b-8810-4d3a1cf737eb.png" alt="Main menu from the game NightSteals" class="image--center mx-auto" /></p>
<p><em>(Try out the</em> <a target="_blank" href="https://gamejolt.com/games/NightSteals/238841"><em>game</em></a> <em>maybe? kekekw)</em></p>
<p>Although the game was wacky, the feedback I received, be it good or bad, made me very happy as people online were playing and reacting to something I had created. The process of building this game taught me a lot about programming and further solidified my interest in tech. I wanted to make more games and better games.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1675184651555/f0f3d959-50bb-411d-8044-922fc2f8f10b.png" alt="Someone's comment on my game" class="image--center mx-auto" /></p>
<p><em>(Good laugh?! this was supposed to be scary T_T)</em></p>
<p>This experience was the turning point that sparked my interest in programming. I was hooked on the idea of building something that makes people happy. From that day on, I knew that I wanted to work more with tech and get better at it. Looking back, it's funny to think that it all started with a simple game of Road Rash and a school project.</p>
<h2 id="heading-the-middle">The Middle</h2>
<p>The ride that came next was a bit rough, but man, it was a game-changer for me and I wouldn't have it any other way.</p>
<p>Since I hadn't had my formal education in the fields I was interested in, I taught myself the basics of game development and joined a university. While in my first year, I met some amazing people and collaborated to make some seriously cool projects. We even won a couple of hackathons, which was pretty dope. And that's also when I met <strong>Ankur</strong>, a senior colleague who would eventually become my mentor.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1675138717633/9493be7a-1cc0-45fc-b645-b01332470ad8.jpeg" alt="Picture from my first hackathon win " class="image--center mx-auto" /></p>
<p><em>(My first hackathon win &gt;_&lt;)</em></p>
<p>One day, while I was working on a game project with Ankur which was aimed to help connect autistic kids and their parents through play, utilizing virtual reality. Ankur, being the tech wizard he is, set up a multiplayer server that let them play together on the same level.</p>
<p>I was in awe and couldn't help but ask him how he did it. He suggested I dive into backend development and even recommended an online course for me to take. This course turned out to be a defining moment for me, teaching me everything from vanilla JavaScript to React, Node.js and MongoDB (here's a <a target="_blank" href="https://www.udemy.com/course/the-complete-web-developer-zero-to-mastery/">link</a> to the course). I was even able to discover the wonders of open source and learned to work with Git.</p>
<p>Thanks to Ankur, I was able to make a smooth transition into software engineering and I couldn't be more grateful for the journey.</p>
<h2 id="heading-the-end">The End (?)</h2>
<p>My experiences in tech have been a mixture of opportunities and challenges. After improving my tech skills through personal projects, I started applying for internships and eventually landed <strong>my first internship</strong> at a tech startup in Nov 2020. This was a big accomplishment for me, I was excited, satisfied and felt responsible after receiving my first paycheck. After a year, however, I realized the pay was low and the work environment was unhealthy for me. So, I sought a more fulfilling job with better pay.</p>
<p>My search paid off, in October 2021 I got a remote internship offer that not only came with a better salary but also with a bonus - a paid trip to Delhi for two weeks! and it was also my first time flying! I not only got to explore a new city but also got to work at an onsite office and interact with my colleagues. This exposure was a great chance for me to see how tech can bring people together.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1675138367870/e71d900f-8a14-4d3f-aade-495338f451e0.jpeg" alt="The time when I visited Delhi" class="image--center mx-auto" /></p>
<p><em>(The time I was in Delhi)</em></p>
<p>During a 4-month break to work on my skill set and learn new things, I learned more about backend development and AWS deployment. This led me to a summer internship at <strong>Walmart Global Tech</strong>, where I worked on designing, and developing the front-end and the backend applications along with SSO integration. Although I was offered a full-time role, the compensation wasn't quite what I was looking for.</p>
<p>Later on, in Oct 2022, I got to work with a Swedish startup as a <strong>UI/UX engineer</strong> which turned out to be super beneficial, to say the least. I learned so much about user experience, workflows, and even human interactions. I also started to understand why things are designed the way they are. This opportunity was the equivalent of getting a PhD in UX!</p>
<p>And now, I'm happy where I'm at and can't wait to see where my tech journey takes me next!</p>
<h2 id="heading-conclusion">Conclusion</h2>
<p>In the end, I am super grateful for all the opportunities and experiences that have come my way. I certainly have grown and I still have a long way to go. A big shoutout to all my friends, near and far. I'm grateful for our regular chats even though we haven't seen each other in years and some I haven't even met in person yet :)</p>
<p>I want to keep trying out new things and continue to grow as a person and as a developer. I am excited for the future and all the amazing things that await.</p>
<p>Thank you for reading this and if you made it this far, congratulations! You deserve a virtual pat on the back, or a cookie... or both!</p>
<p>* <em>pats on the back</em> *<br />* <em>gives cookie</em> *</p>
<hr />
<h3 id="heading-lets-connect"><strong>Let's Connect</strong></h3>
<p><strong>✨</strong> <a target="_blank" href="https://twitter.com/froznxd"><strong>Twitter</strong></a></p>
<p><strong>✨</strong> <a target="_blank" href="https://github.com/soilshubham"><strong>Github</strong></a></p>
]]></content:encoded></item></channel></rss>