<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vivek Sanghvi on Medium]]></title>
        <description><![CDATA[Stories by Vivek Sanghvi on Medium]]></description>
        <link>https://medium.com/@vivek1019?source=rss-30fce84829bf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*swjtobtTHQD2tWfuA-AXwA.jpeg</url>
            <title>Stories by Vivek Sanghvi on Medium</title>
            <link>https://medium.com/@vivek1019?source=rss-30fce84829bf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 05:09:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vivek1019/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From Code to Connection: How Sales Engineering Changed How I See Technology]]></title>
            <link>https://vivek1019.medium.com/from-code-to-connection-how-sales-engineering-changed-how-i-see-technology-be9b42b85abe?source=rss-30fce84829bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/be9b42b85abe</guid>
            <category><![CDATA[banking-technology]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[banking]]></category>
            <category><![CDATA[sales-engineering]]></category>
            <category><![CDATA[fintech]]></category>
            <dc:creator><![CDATA[Vivek Sanghvi]]></dc:creator>
            <pubDate>Sun, 12 Oct 2025 21:03:57 GMT</pubDate>
            <atom:updated>2025-10-12T21:24:49.123Z</atom:updated>
            <content:encoded><![CDATA[<p>When I started my career as a software engineer, I was obsessed with solving technical problems — writing efficient code, optimizing workflows, and building products that worked seamlessly. What I didn’t realize then was that some of the most important problems in technology aren’t just technical — they’re <em>human</em>.</p><p>A year ago, if you told me I’d be in sales, I probably would’ve laughed. I was the kind of person who loved solving problems by sitting down with VS Code, my Spotify playlist, and a cup of coffee.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*p53aJ0itTVdNz_xQ" /></figure><p>But here I am — a Sales Engineer at Narmi <strong>— a</strong>nd it’s honestly been one of the most unexpected and rewarding turns in my career. Suddenly, I wasn’t just writing code; I was seeing technology, problem-solving, and customer interactions in a completely new light.</p><h3>🌱 Shifting From Building Products to Building Understanding</h3><p>Moving from engineering to sales engineering has been a transformative experience in my career. I used to spend my days buried in code — now I spend them helping others understand how technology can solve their real-world challenges.</p><p>At first, I wondered if I’d miss the hands-on building part. But what I’ve realized is that being a sales engineer is still about building — just in a different way. Instead of building software, I’m building understanding, trust, and solutions that bridge the gap between technical innovation and business value.</p><h3>🔄 Trading Code for Conversations</h3><p>For a long time, I thought engineering was about building things. Now, I see it’s really about understanding things — the problem, the people, and how technology fits in between.</p><p>When I first started at Narmi, my instinct was to focus on the tech — explain how everything works, dive into features, get into the architecture. But I quickly learned that what actually matters is the why.</p><p>💡 Why it helps a customer.<br> 💡 Why it solves something real.<br> 💡 Why it makes their job easier or their user experience smoother.</p><p>That shift — from features to outcomes — completely changed how I approach technology.</p><h3>🤖 Where AI Meets Digital Banking</h3><p>There’s so much noise around AI these days that it’s easy to tune it out. But what’s cool at Narmi is how AI isn’t treated like a buzzword — it’s practical.</p><p>It helps banks and credit unions understand their customers better, surface smarter insights, and ultimately make banking more human, not less.</p><p>In demos, when I walk people through one of Narmi’s AI-powered features, I can literally see the gears turning 🤯. That “<em>aha</em>” moment — when someone realizes that innovation doesn’t have to be intimidating — is my favorite part. It can be intuitive, empowering, and human-centered.</p><p>That’s the kind of AI I actually believe in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pA81D1-QrRzQVx3R" /></figure><h3>⚙️ <strong>Beyond AI: The Power of Seamless Experiences</strong></h3><p>What usually gets people’s attention in demos isn’t just the AI functionality — it’s how smoothly everything flows. From account opening to digital banking, it just clicks.</p><p>Coming from a software engineering background in health tech, I was always puzzled by how people accepted friction in their platforms — and I’ve noticed the same thing in the financial industry. Legacy systems or POS solutions force you to stitch together multiple tools, making tasks like application tracking, fraud mitigation, account takeover protection, and many other everyday processes slow, clunky, and prone to errors. Data doesn’t sync cleanly, workflows feel disjointed, and the UI rarely feels seamless.</p><p>Seeing all of that handled in a single platform — where data talks to each other, actions happen instantly, and workflows just work — genuinely surprises people. That’s the “aha” moment I love showing in demos: when someone realizes that connected, intuitive workflows aren’t just convenient, they’re transformative.</p><p>It’s fast, intuitive, and polished in a way that makes people stop mid-demo and say, “Wait — it’s that smooth?” Those are the moments I love seeing the most. Great tech doesn’t have to be complicated — sometimes the smartest design is the one that just feels right, and watching someone realize that in real time never gets old.</p><h3>🌉 Bridging Two Worlds</h3><p>My engineering background still shows up every day — whether it’s digging into an API question, explaining integrations, or figuring out how to customize something for a specific client.</p><p>But now, I also get to see how those technical details translate into actual business impact.</p><p>It’s a bridge I didn’t realize I’d enjoy standing on — translating complexity into clarity, and helping people connect with the “<em>why</em>” behind the tech.</p><h3>🚀 Looking Back (and Ahead)</h3><p>This role has made me rethink what it means to work in tech. It’s not just about writing the best code — it’s about communication, empathy, and context.</p><p>Working as a Sales Engineer has given me a front-row seat to how thoughtful design, and seamless user experiences can make a real difference in the financial space 🏦.</p><p>But more than that, it’s taught me how to listen, explain, and connect — three things I didn’t always associate with engineering, but probably should have.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be9b42b85abe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Guide to Passing the AWS Developer Associate (DVA-C02) Exam]]></title>
            <link>https://vivek1019.medium.com/a-guide-to-passing-the-aws-developer-associate-dva-c02-exam-832ab5e9e325?source=rss-30fce84829bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/832ab5e9e325</guid>
            <category><![CDATA[exam-preparation]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[aws-certification]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[amazon-web-services]]></category>
            <dc:creator><![CDATA[Vivek Sanghvi]]></dc:creator>
            <pubDate>Sat, 28 Sep 2024 17:25:59 GMT</pubDate>
            <atom:updated>2024-09-28T17:26:27.447Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*ESrXEWTyxhRrdC4K4MW5QQ.jpeg" /></figure><p>Recently, I passed the AWS Developer Associate (DVA-C02) exam, and I wanted to share my experience and preparation tips that helped me succeed. If you’re looking to pass this certification, here’s a detailed guide on how I approached it.</p><h4>My Background</h4><p>I’m a software engineer with around four years of experience working as a Full Stack Developer at a startup. During that time, I worked with AWS services such as Lambda, DynamoDB, S3, CloudFront, API Gateway, and EC2, which gave me some hands-on experience.</p><p>Even with this experience, the AWS Developer Associate exam required a focused study plan and deliberate practice. So here’s how I prepared and what worked for me.</p><h3>Steps I Took to Pass the Exam</h3><ol><li><strong>Start with a Solid Course</strong> The first thing I did was enroll in <a href="https://www.udemy.com/course/aws-certified-developer-associate-dva-c01/?couponCode=OF83024F">Stephane Maarek’s AWS Certified Developer Associate course</a> on Udemy. Stephane’s course is incredibly comprehensive and covers all the critical areas you need for the exam, including hands-on labs that help solidify the concepts. I watched the videos at my own pace, and whenever I encountered a topic I didn’t fully understand, I went back and re-watched the relevant sections.</li><li><strong>Deep Dive into Serverless Architecture</strong> The exam heavily focuses on development with serverless architecture, so I made sure to allocate enough time to mastering AWS Lambda, DynamoDB, API Gateway, and related services. Knowing how to integrate Lambda with API Gateway, setting up functions inside a VPC, and understanding both synchronous and asynchronous invocations were key. This section is essential since you’ll get a lot of scenario-based questions revolving around these services.</li><li><strong>Focus on Key Services</strong> Besides serverless, the exam also covers EC2, SQS, SNS, Kinesis, S3, ECS, and CI/CD tools like CodeCommit, CodeDeploy, and CodePipeline. To cover these services thoroughly, I dove into the practice labs provided in the course and created some of my own AWS projects. Additionally, I reviewed the deployment strategies, focusing on AWS CloudFormation and CDK, and refreshed my knowledge of monitoring services like CloudWatch, CloudTrail, and X-Ray.</li><li><strong>Practice Tests Are Your Best Friend</strong> After completing the course, I started practicing with <a href="https://tutorialsdojo.com/courses/aws-certified-developer-associate-practice-exams/">Tutorial Dojo’s practice tests</a>. These tests were harder than the actual exam, but they prepared me exceptionally well. I made sure to use the review mode, which allowed me to understand the reasoning behind each question. If I missed something, I did a deep dive into the topic and revisited the relevant sections in the course.</li><li><strong>Use Cheatsheets for Quick Reviews</strong> I found <a href="https://tutorialsdojo.com/aws-cheat-sheets/">Tutorial Dojo’s cheat sheets</a> very helpful for quick reviews. These cheat sheets are pretty detailed and cover the essentials. I referred to them frequently during the last few days of preparation to brush up on core concepts.</li><li><strong>Hands-On Practice</strong> While you can technically pass the exam without hands-on experience, I wouldn’t recommend it. I made sure to spin up my own AWS environments, staying within the free-tier limits. This allowed me to apply what I learned in real-world scenarios, which not only helped reinforce the concepts but also made them easier to recall during the exam.</li></ol><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FfhAwk4DnqNgw8%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Flife-school-college-fhAwk4DnqNgw8&amp;image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExdGM3d2M0dG8zanMwbGhydGljOXUxOW16dnN4MDI3ZjZudnozOXA2NiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FfhAwk4DnqNgw8%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="235" frameborder="0" scrolling="no"><a href="https://medium.com/media/1c61121fffd052359157afe4b04d616d/href">https://medium.com/media/1c61121fffd052359157afe4b04d616d/href</a></iframe><h3>Exam Day Tips</h3><ul><li><strong>Take Your Time:</strong> You have 2 hours and 10 minutes to complete the exam. If English isn’t your first language, request an additional 30 minutes before booking your exam.</li><li><strong>Read Carefully:</strong> Don’t rush through the questions. Read them thoroughly and use the process of elimination to narrow down your choices.</li><li><strong>Mark for Review:</strong> If you’re unsure about a question, mark it for review and revisit it later. Often, subsequent questions might trigger a memory or help clarify earlier questions.</li></ul><h3>Final Thoughts</h3><p>Preparing for the AWS Developer Associate exam takes time and commitment, but with the right resources, it’s absolutely doable. I highly recommend using Stephane Maarek’s Udemy course and Tutorial Dojo’s practice exams. Give yourself at least a month to prepare, practice as much as possible, and stay consistent. Good luck!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FIwAZ6dvvvaTtdI8SD5%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Ftheoffice-the-office-tv-michaels-birthday-IwAZ6dvvvaTtdI8SD5&amp;image=https%3A%2F%2Fmedia0.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExZDNtOTdsbG4yNmpubTNkaHFncjM4cmw1aXRpYnB2aWhmM2kwajh5ayZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FIwAZ6dvvvaTtdI8SD5%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="361" frameborder="0" scrolling="no"><a href="https://medium.com/media/4ea631a3d0259a6005e0feb0fdbcdd6f/href">https://medium.com/media/4ea631a3d0259a6005e0feb0fdbcdd6f/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=832ab5e9e325" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[12 Useful VS Code Keyboard Shortcuts For Mac]]></title>
            <link>https://vivek1019.medium.com/12-useful-vs-code-keyboard-shortcuts-for-mac-75d9ced8a59e?source=rss-30fce84829bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/75d9ced8a59e</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[beginners-guide]]></category>
            <category><![CDATA[shortcuts]]></category>
            <category><![CDATA[vscode-extension]]></category>
            <dc:creator><![CDATA[Vivek Sanghvi]]></dc:creator>
            <pubDate>Mon, 15 Feb 2021 16:27:59 GMT</pubDate>
            <atom:updated>2021-02-15T16:28:35.933Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tz16PCjWy0SE-Y0-" /><figcaption>Photo by <a href="https://unsplash.com/@cgower?utm_source=medium&amp;utm_medium=referral">Christopher Gower</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>As I wrap up my time here at Flatiron, I can truly say it has been an intense experience. Previously coming from a background with little to no coding knowledge, I thought I would make this blog post to help other beginners maneuver visual studio code with more ease. So lets get started:</p><ol><li>Being able to search through all files for any matching text. While this may not seem useful when you’re first starting out, keep this tool in your back pocket. Before you know it, you&#39;ll be writing hundreds of lines of code and this shortcut will save you from wasting any unnecessary time.</li></ol><pre>Control + Shift + F</pre><p>2. Being able to comment out code.</p><pre>Cmd + /</pre><p>3. Delete the entire line the cursor is on</p><pre>Shift + Cmd + K</pre><p>4. Move the entire line the cursor is on</p><pre>Option + Down Arrow (to move line down)<br></pre><pre>Option + Up Arrow (to move line up)</pre><p>5. Changing multiple of the same word in a file. So if you had the word “Doctor” and wanted to change every instance of the word doctor in that file, you can select all of the words to change at once.</p><pre>Cmd + D</pre><p>6. Create a duplicate of a certain line of code. Obviously you can just copy and paste. However you can also…</p><pre>Shift + Option + Up/Down Arrow Key</pre><p>7. To zoom in or out of your code</p><pre>Cmd +/-</pre><p>8. How to get rid of your sidebar in Vscode</p><pre>Cmd + B</pre><p>9. Re-open an accidentally closed Vscode tab</p><pre>Control + Shift + t</pre><p>10. Split the editor in Vscode(so you can have side by side tabs open for different files)</p><pre>Cmd + \</pre><p>11. Go to the very top or bottom of the file</p><pre>Cmd + Up/Down Arrow</pre><p>12. From where your cursor is, you can select the whole file above or below.</p><pre>Shift + Cmd + Up/Down Arrow</pre><p>This bonus shortcut I will leave you with will probably be your favorite. No one likes messy code. It makes it difficult for other people to read, and even worse you’ll probably end up confusing yourself as your application starts to build complexity. However for this shortcut you have to download the shortcut “Prettier” from visual studio code extensions. Once doing so you will have the ability to use the shortcut below. In short, this will automatically format your file for you with indentations.</p><pre>Shift + Option + F</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aPWb7265PGxNFNCdDwX4Cw.png" /></figure><p>If you’re still new to software engineering and the idea of building out an application from scratch seems daunting, rest assured I felt the same exact way only 7 months ago when I first delved into this. All I can say is keep practicing and before you know it you’ll pick up on things quickly.</p><p>You can check out some of my projects on Github that I built out at Flatiron as well as other side projects to see my own coding journey. I’ve gone from building only simple CLI applications to having projects with real auth, and a fully functioning front and back end. Although I am proud of where I have gotten thus far, I know I still have so much to learn.</p><p><a href="https://github.com/wickedvic">https://github.com/wickedvic</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75d9ced8a59e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PHASE 4 Project : TO-DO LIST]]></title>
            <link>https://vivek1019.medium.com/phase-4-project-to-do-list-2dd770f35815?source=rss-30fce84829bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/2dd770f35815</guid>
            <category><![CDATA[rails]]></category>
            <category><![CDATA[date-fns]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[flatiron-school]]></category>
            <dc:creator><![CDATA[Vivek Sanghvi]]></dc:creator>
            <pubDate>Thu, 28 Jan 2021 05:47:58 GMT</pubDate>
            <atom:updated>2021-01-28T17:56:56.046Z</atom:updated>
            <content:encoded><![CDATA[<h3>PHASE 4 Project : TO-DO LIST</h3><p>In this blog I will be going over my phase 4 project. The link to the Project can be found here: <a href="http://locksleyr.com/">locksleyr.com</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F4907321&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fwill-smith-men-in-black-gif-4907321&amp;image=https%3A%2F%2Fmedia.tenor.com%2Fimages%2F5a27276007492d28df67b6371eadcd3a%2Fraw&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/56b44f0c78bcbf42ee519b1bc2963a13/href">https://medium.com/media/56b44f0c78bcbf42ee519b1bc2963a13/href</a></iframe><p>If you’ve been following my software engineering journey, you would know how little I started off knowing any code at all. I am about a month away from graduating Flatiron and have gotten way more comfortable creating web applications. I still remember struggling to build a simple CLI Application in Phase 1. It’s been an incredible journey and 12 weeks later here we are.</p><p>In this phase we were tasked with building out a CRUD project using a react frontend and a rails backend. My partner and I had decided on building out an application that we could continue using even once this Phase was over. After some discussing we had finally agreed on making a to-do list application. Personally, I thought this was perfect because it was an easy way to stay organized and it was something that I continue using in my day to day life.</p><h3>Background of the application:</h3><p>The application’s main goal should be to hit CRUD (CREATE, READ, UPDATE, DESTROY).</p><ol><li>Users will be routed to the login page when they enter <a href="http://locksleyr.com/">locksleyr.com</a></li><li>Users are required to create an account to navigate the functionality of the app</li><li>Once an account is created, Users can see their Calendar</li><li>A user upon creating an account has a secure password (courtesy of the bcrypt gem)</li><li>Users can make a new task and it will update on to the weekly calendar</li><li>Users can interact with the mini calendar and it will dynamically render the weekly calendar as well</li><li>Users can edit and delete a task</li><li>Users can cross off a task once it is completed</li></ol><p>*Easter Egg: When a task is completed it shoots confetti onto the page*</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ITvVKZ2wWUeebuALjUYb5A.png" /><figcaption>A snippet of our calendar</figcaption></figure><ul><li>Above is a snippet of what a user will see when they first create an account and have not made any tasks yet.</li></ul><p>We had set it up so that when any user first goes <a href="http://locksleyr.com/">locksleyr.com</a> they are automatically routed to the sign up page. Here, users are prompted to sign up in order to use the functionality of the application. Once a user is created, they will now have the ability create tasks and and have a personalized calendar to keep track of their day to day responsibilities. The end goal of this application is to allow a platform for users to have a virtual agenda book which they can populate with whatever activities they choose to have. Additionally, we implemented bcrypt and JWT Auths in order to secure passwords and logins. In other words, a user cannot sign into someone else’s account and see their calendar/tasks.</p><p>The hardest part of the project was implementing the logic for each of the Calendars and having the smaller Calendar dynamically render the weekly calendar every time a new date was clicked. To top it off we had also started with Moment.js and had later switched to date-fns after we came to the realization that Moment.js was somewhat outdated. Yet even after some sleepless nights, we ended up with a pretty cool mini project and can safely say we learned a ton of new things.</p><p>As I finish up this phase, our next and final phase we will be tasked with creating a project on our own and I already have a few ideas as to what I wanna build out. Looking back at my time at Flatiron, I would totally recommend it to anyone who is reading this. However if you aren’t ready to put in the work, you shouldn’t even bother. This has been one of the challenging yet rewarding things I have done and sometimes you gotta just-</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F9017442&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fjoel-embiid-gif-9017442&amp;image=https%3A%2F%2Fmedia.tenor.com%2Fimages%2F254eb084d0e22d69ff7db184517b3bdc%2Ftenor.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/5696170854418f222361ad90bb2feebe/href">https://medium.com/media/5696170854418f222361ad90bb2feebe/href</a></iframe><p>If you happen to ever need a Calendar for your web application, feel free to check out our github code to see how we implemented it. Addtionally, my partner for this project has written a really informative blog talking about date-fns and why we decided to switch from moment.js.</p><p><a href="https://jonathanx111.medium.com/a-date-fns-guide-for-your-next-react-project-2a333144fe90">A Date-Fns Guide for your next React Project</a></p><p>As I wrap up this blog, I continue looking forward to my development as a Software Engineer and hope our code may be helpful to other developers down the line.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2dd770f35815" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MOD 2 Project : E -View]]></title>
            <link>https://vivek1019.medium.com/mod-2-project-e-view-4742d0f72fe8?source=rss-30fce84829bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/4742d0f72fe8</guid>
            <category><![CDATA[rails]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <dc:creator><![CDATA[Vivek Sanghvi]]></dc:creator>
            <pubDate>Mon, 07 Dec 2020 02:38:17 GMT</pubDate>
            <atom:updated>2020-12-07T02:39:40.606Z</atom:updated>
            <content:encoded><![CDATA[<h3>PHASE 2 Project : E -View</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*US12UCC_3AwoIDBn7MFv7Q.jpeg" /></figure><p>If you happened to read my first blog, you would know that I am still fairly new to coding. After going through Phase 1, having to worry about the coding challenge retake as well as projects all in the same week, I prepared every day relentlessly to pass the CC on the first try for Phase 2. Thankfully I did, and ended up having a full week and a half to create our project.</p><h4><strong>Background of the application:</strong></h4><p>The application’s main goal should be to hit CRUD (CREATE, READ, UPDATE, DESTROY).</p><ol><li>Users will be routed to the home page when they enter localhost:3000/</li><li>Users should be prompted to create an account to navigate the app</li><li>Once an account is created, Users can see all the top Electric Vehicles</li><li>A user upon creating an account has a secure password (courtesy of the bcrypt gem)</li><li>Users can make a review and rate a certain vehicle</li><li>Users can like other user’s reviews if they found it helpful</li><li>Users can earn points/badges if other users find their post helpful and can level up</li><li>A user has the ability to Edit/Delete their account</li></ol><p>Link to Github: <a href="https://github.com/wickedvic/E-View/tree/bones">https://github.com/wickedvic/E-View/tree/bones</a></p><p>For my second project here at Flatiron we were tasked with building out a web application with the help of Ruby on Rails. My partner (Matt Ogtong) and I decided on building out an app for reviewing purely Electric Vehicles with a few fun perks.</p><p>We had set it up so that when any user first goes localhost:3000/ they are automatically routed to the home page. Here, users are prompted to sign up before they can visit any other pages within the application. Once a user is created, they now have the ability to look at all the top rated Electric Vehicles found for sale today. The end goal of this application is to allow a platform for users to check out the top rated EV’s and see reviews left by every day users of that car.</p><p>At first implementing the logic for our models was a challenge and took numerous amounts of google searches. However we managed to finish the bulk of our project by Saturday of the first week leaving us with a couple of days to finish off the CSS for the app.</p><p>Before building out this application, I never knew how important CSS was to the general look of a website. If you don’t believe me, below is a screenshot of our homepage without any CSS vs with.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UFw5E-6zEC9sRBu6Eyc_yg.png" /><figcaption>Homepage without any CSS</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8kGPk_bGNPhVwmxQ8JwocA.png" /><figcaption>With CSS</figcaption></figure><p>Although this is only a small part of our homepage, you can still see the vast difference between having CSS vs not having it.</p><p>Learning CSS thus far has been a love hate relationship. The learning curve was pretty difficult, however I was truly blessed to have a partner who has been also working relentlessly on this project. We definitely came pretty far in the mere span of a week and I cant’t wait to present what we have spent countless hours working on.</p><p>A few styling tips that may come in handy if you are reading this. A lot of our CSS was done thanks to the help of the bootstrap gem. For instance, on the homepage we have a carousel of top rated EV’s, a card to show testimonials from others who have used this website, our highest rated EV from our website. The bootstrap gem documentation consists of all the code needed to implement this general look to your website. All you have to do is plug in the information that you want to implement/show. Although it sounds easier said than done, once you get the general sense of how one page of your application is done, the others become way more manageable.</p><p>As I am writing this blog, it is two days before we are set to present our project. Although we still have to finish up the final touches, I am extremely proud of what we have built out so far. I never would have thought myself to be capable enough to accomplish such a task. Only 6 weeks ago I was still learning the basic fundamentals of RUBY, understanding arrays and hashes, and now I am about to finish Phase 2 with a somewhat solid understanding of Ruby on Rails.</p><p>As I finish up this Phase, the next is the beginning of Javascript. Although I am truly nervous for whats to come, I am definitely ready to face it head on and build out another kick ass application down the line.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4742d0f72fe8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Understand OO Relationships in Ruby]]></title>
            <link>https://vivek1019.medium.com/how-to-understand-oo-relationships-in-ruby-ac9a6cd5a733?source=rss-30fce84829bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac9a6cd5a733</guid>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[object-oriented]]></category>
            <dc:creator><![CDATA[Vivek Sanghvi]]></dc:creator>
            <pubDate>Tue, 10 Nov 2020 13:55:56 GMT</pubDate>
            <atom:updated>2020-11-10T13:55:56.029Z</atom:updated>
            <content:encoded><![CDATA[<p>Before I get started on my very first blog, let me at least introduce myself. My name is Vivek Sanghvi and only a few months ago my knowledge in anything related to coding was =&gt; nil. I had graduated with a degree in Biology with the vision to apply to medical school, only to decide I wasn’t satisfied with my career choice.</p><p>I had first heard about bootcamps from a family friend who was in a similar boat a few years prior to me. If you’re like me, you probably spent a solid week in panic mode, scouring the internet to see if you had any interest in coding.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FpynZagVcYxVUk%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FpynZagVcYxVUk%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FpynZagVcYxVUk%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/cfcd87ce099a78f4dff74b0d290aff01/href">https://medium.com/media/cfcd87ce099a78f4dff74b0d290aff01/href</a></iframe><p>To my surprise while prepping for bootcamp interviews, I truly found myself enjoying what I was learning.</p><p>I had taken the time to become privy to the basic fundamentals of Ruby, apply to a few coding bootcamps and finally decided on attending Flatiron School’s Software Engineering Immersive Program.</p><p>I am currently on the start of the third of the 15 week program and lets just say it has been an experience in itself. However, I can honestly say what you put into the program is what you get out. It is crazy how much I have learned in just a mere two weeks and this blog will delve into the first topic we learned here at Flatiron, Object Oriented Relationships.</p><p><em>Side note: Master this topic for your first coding challenge should you choose to attend Flatiron.</em></p><p>Before we start talking about the various relationships, it is important we have an understanding of Objects and Classes in Ruby. A great resource which I had found helpful when I first started learning about this topic was: <a href="https://launchschool.com/books/oo_ruby/read/classes_and_objects_part1">https://launchschool.com/books/oo_ruby/read/classes_and_objects_part1</a></p><p><strong>So lets start with the 3 main types of relationships:</strong></p><ol><li>The “Belongs To” Relationship</li><li>The “Has Many” Relationship</li><li>The “Has Many Through/Many to Many” Relationship</li></ol><p>If you’re like me, it is way easier understanding something if I am able to visualize it. So let us talk about each relationship using something most of us know and can understand easily: Pokemon. To show the relationships between characters we can imagine Ash and other trainers like Brock and Misty each being an instance of “class Trainer”. The job of each trainer is to try and catch different Pokemon like Pikachu, Charmander, etc. Each of these pokemon are an instance of “class Pokemon”.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FxuXzcHMkuwvf2%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FxuXzcHMkuwvf2%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia4.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExYmo3ZTN1ajhoejJiZmUxNGRlbzA0cWVzZnN3b3BjdWM1cXgybTlwOSZlcD12MV9naWZzX2dpZklkJmN0PWc%2FxuXzcHMkuwvf2%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/796a14d1a6d1cadfbb87818b17d13caa/href">https://medium.com/media/796a14d1a6d1cadfbb87818b17d13caa/href</a></iframe><ol><li>The “Belongs To” Relationship</li></ol><p>Using our Pokemon example we can illustrate this “belongs to” model. As stated earlier, each Pokemon has a specific trainer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*-AlYh5vV9PxfvXoWXnOzaQ.png" /><figcaption>Abstract Example of Belongs To model</figcaption></figure><p>The belongs to example illustrated in code can look like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aOuB-CDmJSDBhBcOt1RP2g.png" /></figure><p>In the above code, each Pokemon belongs to a trainer. As a result when we initialize a new Pokemon (Pokemon.new) each instance created has a name as well as a trainer which it belongs to. Additionally, the Pokemon class will keep track of the relationship between each Pokemon and each trainer.</p><p>2. The “Has Many” Relationship</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*ln8PK6pLZBsLH_p_jJrTQg.png" /><figcaption>Abstract Example of Has Many model</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aOuB-CDmJSDBhBcOt1RP2g.png" /></figure><p>Using the same code for our belongs to example, but now looking at it from a more abstract point of view, we can see how our code also depicts a has many relationship. In this case, our trainer can have multiple pokemons (because we want our trainer to “catch em all”) and every time a new Pokemon is initialized, it will pass through a pokemon “name” as well as a trainer Object, thus showing and keeping track of the relationship between the two.</p><p>3. The “Has Many Through/Many to Many” Relationship</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*rEyyf4lfqb1v3JQi2PZBUA.png" /><figcaption>Abstract Example of Has Many Through model</figcaption></figure><p>This last relationship can be pretty daunting. But once you understand it from an abstract perspective, coding it out will become way easier.</p><p>This is a perfect example of explaining the has many through relationship. In this case, a trainer can have multiple pokemon and the type (type of Pokemon it is: Steel, Fire, Electric, etc) can have many pokemon as well. Furthermore, a pokemon belongs to a trainer as well as a type.</p><p>The has many through example illustrated in code can look like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Xh3qjhmXAh3pr444PH_pg.png" /></figure><p>This relationship will most often be used when we want to access some information from one class from another using the Single Source of Truth. So for instance, if I wanted to find out what types of Pokemon a certain trainer had, I would be using this sort of relationship.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*4vlWuym6wIdYgTmEx4mEOA.png" /></figure><p>Let’s say for the sake of argument I actually did want to figure out what types of Pokemon a certain trainer had, I would have to add two instance methods as seen in the picture. First my <strong><em>all_pokemon</em></strong> method would iterate through the Pokemon class and returns all of the Pokemon that my specific trainer owns. Next by calling on the <strong><em>types</em></strong> method, we are able to then iterate through my previously called method because within the method <strong><em>types</em></strong> we are calling our <strong><em>all_pokemon</em></strong> method and using <strong><em>.map</em></strong> to get an array back with what types of pokemon our trainer has.</p><p>Once you get the general idea of what is happening and how each class is related, coding it out becomes way simpler. The best advice I can give is to not only continue practicing but make your own classes and relationships in order to see how they can all be inter-related.</p><p>Understanding code can be pretty terrifying at first but also one of the most rewarding things when we finally understand something. Each day will seem like a challenge but just know you aren’t alone and with practice and definitely with a lot of patience you’ll be learning numerous topics before you know it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac9a6cd5a733" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>