<?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 Yash Garudkar on Medium]]></title>
        <description><![CDATA[Stories by Yash Garudkar on Medium]]></description>
        <link>https://medium.com/@yashgarudkar?source=rss-55b5daddb0f1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*M9LFa2EHmwK6N5-3RpHTeQ.jpeg</url>
            <title>Stories by Yash Garudkar on Medium</title>
            <link>https://medium.com/@yashgarudkar?source=rss-55b5daddb0f1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 20:53:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yashgarudkar/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[I built a Real-Time Mumbai Local Train Dashboard with Grafana Infinity Plugin]]></title>
            <link>https://yashgarudkar.medium.com/building-a-real-time-mumbai-local-train-dashboard-with-grafana-infinity-plugin-7d8134ae1685?source=rss-55b5daddb0f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d8134ae1685</guid>
            <category><![CDATA[mumbai]]></category>
            <category><![CDATA[grafana]]></category>
            <category><![CDATA[dashboard]]></category>
            <category><![CDATA[observability]]></category>
            <dc:creator><![CDATA[Yash Garudkar]]></dc:creator>
            <pubDate>Mon, 22 Jun 2026 19:08:21 GMT</pubDate>
            <atom:updated>2026-06-22T19:13:59.254Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Event:</strong> GrafanaCON Mumbai<br><strong>Talk Format:</strong> Presentation + Live Dashboard Demo<br><strong>Authors</strong>: Yash Garudkar and Nikita Shinde</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wz-iSsVmpXxdt9cBo4tH6A.png" /><figcaption>The Mumbai Local Grafana dashboard</figcaption></figure><h3>Introduction</h3><p>Mumbai’s local train network is the lifeline of the city — 7.5 million commuters, three lines, and hundreds of trains running every single day. It is one of the most complex urban transit systems in the world. So when we were thinking of a use case for our GrafanaCON Mumbai talk, the answer was right outside the window.</p><p>The goal was simple: demonstrate the power of the <strong>Grafana Infinity plugin</strong> by building a fully functional, real-time dashboard for Mumbai’s local train network — Central, Western, and Harbour lines — without touching a single production database or paid data feed. Everything powered by a custom dummy API, deployed on AWS Lambda, visualised through Grafana Cloud.</p><p>This post walks you through exactly what we built, how we built it, and every decision made along the way — including how the final dashboard layout evolved during the live session.</p><h3>The Problem We Were Solving</h3><p>Most Grafana demos use Prometheus metrics or time-series databases. They are great for infrastructure monitoring, but they do not show the real power of the Infinity plugin — which is the ability to connect Grafana to <strong>any REST API</strong> in the world without writing a single line of backend integration code.</p><p>We wanted to show:</p><ul><li>How to build a backend API purpose-built for Grafana Infinity</li><li>How to configure Infinity to pull JSON, parse it, and visualise it</li><li>How to use Grafana transformations to reshape data for different panel types</li><li>How to wire up dashboard variables for interactivity</li></ul><p>The Mumbai Local Train network was the perfect domain — everyone in the room understood it immediately, the data is rich and varied, and it maps naturally to multiple Grafana panel types.</p><h3>Architecture Overview</h3><pre>Grafana Cloud (Infinity Plugin)<br>        ↓  HTTP GET + X-API-Key header<br>API Gateway (AWS HTTP API v2, ap-south-1)<br>        ↓<br>AWS Lambda (Python 3.11)<br>        ↓<br>FastAPI + Mangum adapter<br>        ↓<br>Realistic dummy data generation</pre><p>The entire backend is a single Lambda function running FastAPI, exposed through API Gateway. Mangum acts as the bridge between API Gateway’s event format and FastAPI’s ASGI interface. No database, no external dependencies — pure computed dummy data with realistic patterns baked in.</p><h3>Designing the API — Data First, Panels Second</h3><p>The most important decision in this project was made before writing a single line of code: <strong>design the API around what Grafana needs, not what feels natural as a REST API.</strong></p><p>Different Grafana panel types expect data in fundamentally different shapes:</p><p>Panel Type Data Shape Grafana Expects Stat One row per metric, flat object Bar gauge One row per category with numeric values Heatmap Time-series: one row per (zone × timestamp) Table Flat array, one row per record</p><p>This drove six distinct endpoints, each shaped for its target panel:</p><h3>1. /lines/status → Stat Panel</h3><pre>[<br>  { &quot;line&quot;: &quot;Central&quot;, &quot;status&quot;: &quot;normal&quot;, &quot;status_code&quot;: 0, &quot;delay_minutes&quot;: 0 },<br>  { &quot;line&quot;: &quot;Western&quot;, &quot;status&quot;: &quot;delay&quot;,  &quot;status_code&quot;: 1, &quot;delay_minutes&quot;: 8 },<br>  { &quot;line&quot;: &quot;Harbour&quot;, &quot;status&quot;: &quot;normal&quot;, &quot;status_code&quot;: 0, &quot;delay_minutes&quot;: 0 }<br>]</pre><p>The key insight here is the status_code field — a numeric 0/1/2 alongside the string status. Grafana&#39;s value mappings work on numbers, so this lets us drive green/orange/red colour coding without any string parsing.</p><h3>2. /trains/count → Bar Gauge</h3><pre>[<br>  { &quot;line&quot;: &quot;Central&quot;, &quot;running&quot;: 165, &quot;halted&quot;: 15, &quot;total&quot;: 180 },<br>  { &quot;line&quot;: &quot;Western&quot;, &quot;running&quot;: 196, &quot;halted&quot;: 14, &quot;total&quot;: 210 },<br>  { &quot;line&quot;: &quot;Harbour&quot;, &quot;running&quot;: 91,  &quot;halted&quot;: 4,  &quot;total&quot;: 95  }<br>]</pre><p>running + halted = total always holds — critical for bar gauge integrity.</p><h3>3. /crowd/heatmap → Heatmap Panel</h3><p>This was the trickiest endpoint to design. Grafana’s heatmap panel expects <strong>time-series data</strong> — one series per heatmap row, with timestamps as X axis and values as Y axis. The solution was to return one row per (zone × hour) combination, sorted chronologically:</p><pre>[<br>  { &quot;timestamp&quot;: &quot;2026-06-20T06:00:00+00:00&quot;, &quot;zone&quot;: &quot;Zone 1&quot;, &quot;density&quot;: 22 },<br>  { &quot;timestamp&quot;: &quot;2026-06-20T06:00:00+00:00&quot;, &quot;zone&quot;: &quot;Zone 2&quot;, &quot;density&quot;: 31 },<br>  ...<br>  { &quot;timestamp&quot;: &quot;2026-06-20T18:00:00+00:00&quot;, &quot;zone&quot;: &quot;Zone 5&quot;, &quot;density&quot;: 87 }<br>]</pre><p>The crowd density model has rush hour peaks baked in — 8–10 AM and 6–8 PM — so the heatmap actually looks realistic with darker zones at peak hours.</p><h3>4. /trains/frequency → Stat Panel</h3><pre>[<br>  { &quot;line&quot;: &quot;Central&quot;, &quot;type&quot;: &quot;AC&quot;,     &quot;trains_per_hour&quot;: 4 },<br>  { &quot;line&quot;: &quot;Central&quot;, &quot;type&quot;: &quot;Non-AC&quot;, &quot;trains_per_hour&quot;: 18 },<br>  { &quot;line&quot;: &quot;Western&quot;, &quot;type&quot;: &quot;AC&quot;,     &quot;trains_per_hour&quot;: 6 },<br>  ...<br>]</pre><p>Six rows — 3 lines × 2 types. Each row becomes one stat tile through Grafana’s Partition by values transformation.</p><h3>5. /incidents → Table Panel</h3><pre>[<br>  {<br>    &quot;id&quot;: 1,<br>    &quot;line&quot;: &quot;Harbour&quot;,<br>    &quot;severity&quot;: &quot;critical&quot;,<br>    &quot;severity_code&quot;: 3,<br>    &quot;type&quot;: &quot;signal_failure&quot;,<br>    &quot;description&quot;: &quot;Signal failure causing delays between stations&quot;,<br>    &quot;station&quot;: &quot;Panvel&quot;,<br>    &quot;duration_min&quot;: 47,<br>    &quot;resolved&quot;: false<br>  }<br>]</pre><p>The severity_code numeric field enables sorting while the string severity drives colour-coded value mappings.</p><h3>6. /arrivals?station=CSTM → Table Panel</h3><pre>[<br>  { &quot;train_no&quot;: &quot;12101&quot;, &quot;destination&quot;: &quot;Kalyan&quot;, &quot;platform&quot;: 3,<br>    &quot;eta_minutes&quot;: 4, &quot;type&quot;: &quot;Express&quot;, &quot;is_ac&quot;: true, &quot;status&quot;: &quot;on_time&quot; },<br>  ...<br>]</pre><p>The station query parameter maps to a Grafana dashboard variable — ${station} — So changing the dropdown on the dashboard triggers a new API call automatically.</p><h3>The Backend — FastAPI on Lambda</h3><h3>Why FastAPI + Mangum?</h3><p>FastAPI gives us automatic request validation via Pydantic, query parameter parsing, and a clean decorator-based routing syntax. Mangum wraps the FastAPI app into a Lambda handler with one line:</p><pre>handler = Mangum(app, lifespan=&quot;off&quot;)</pre><p>Every HTTP request — regardless of path — hits the same Lambda function. FastAPI’s internal router dispatches it to the right handler. API Gateway is configured with a catch-all /{proxy+} route pointing to this single function.</p><h3>Auth — API Key via Header</h3><p>All endpoints (except /health) require an X-API-Key header:</p><pre>API_KEY = os.environ.get(&quot;API_KEY&quot;, &quot;mumbai-train-secret&quot;)</pre><pre>def auth(x_api_key: Optional[str]):<br>    if x_api_key != API_KEY:<br>        raise HTTPException(status_code=401, detail=&quot;Invalid or missing X-API-Key header&quot;)</pre><p>The key is passed as a Lambda environment variable via SAM, never hardcoded. On the Grafana side, the Infinity datasource is configured with X-API-Key an API Key authentication header — applied globally to all queries from that datasource.</p><h3>Realistic Dummy Data</h3><p>The data is not purely random — it has domain logic baked in:</p><p><strong>Crowd heatmap rush hours:</strong></p><pre>def crowd_density(hour_of_day: int, zone_idx: int) -&gt; int:<br>    morning_rush = max(0, 80 - abs(hour_of_day - 9) * 18)<br>    evening_rush = max(0, 85 - abs(hour_of_day - 19) * 15)<br>    base = 20 + zone_idx * 5<br>    noise = random.randint(-8, 8)<br>    return min(100, max(0, base + morning_rush + evening_rush + noise))</pre><p><strong>Line status weighted probabilities:</strong></p><pre>statuses = [&quot;normal&quot;, &quot;delay&quot;, &quot;disrupted&quot;]<br>weights  = [0.65, 0.25, 0.10]</pre><p>65% of the time lines are normal, 25% chance of delay, 10% disrupted — roughly realistic for Mumbai locals.</p><h3>Deployment — AWS SAM</h3><pre>./deploy.sh your-api-key ap-south-1</pre><p>SAM handles packaging, S3 upload, CloudFormation stack creation, Lambda + API Gateway provisioning — everything in one command. Region ap-south-1 (Mumbai) chosen deliberately for the demo context. Cost: $0 under the Lambda free tier for any test or demo workload.</p><h3>The Final Dashboard Layout</h3><p>The dashboard evolved during the session based on what worked visually. Here is the final layout that went up on screen:</p><pre>┌─────────────────────────────────────────────────────────┐<br>│  🚇 Live Mumbai Transport Information  (Text / Header)  │  Row 0 — full width<br>└─────────────────────────────────────────────────────────┘<br>┌────────────────────────┬────────────────────────────────┐<br>│  Line Status (Stat)    │  Trains Running vs Halted      │  Row 1 — split 12/12<br>│  Central / Western /   │  (Bar Gauge)                   │<br>│  Harbour tiles         │                                │<br>└────────────────────────┴────────────────────────────────┘<br>┌────────────────────────┬────────────────────────────────┐<br>│  AC vs Non-AC          │  Crowd Load by Zone            │  Row 2 — split 12/12<br>│  Frequency (Stat)      │  (Heatmap)                     │<br>└────────────────────────┴────────────────────────────────┘<br>┌────────────────────────┬────────────────────────────────┐<br>│  Real-time Incidents   │  Next Arrivals                 │  Row 3 — split 12/12<br>│  (Table)               │  (Table)                       │<br>└────────────────────────┴────────────────────────────────┘</pre><p><strong>Seven panels total</strong> — the intro text panel sets context for anyone landing on the dashboard cold, which mattered for a conference demo where people walk up mid-session.</p><h3>Configuring Grafana Infinity</h3><h3>Datasource Setup</h3><p>The Infinity datasource is configured once at the datasource level with:</p><ul><li><strong>Auth type:</strong> API Key Value pair</li><li><strong>Key:</strong> X-API-Key</li><li><strong>Value:</strong> mumbai-train-secret</li><li><strong>Add to:</strong> Header</li><li><strong>Allowed hosts:</strong> <a href="https://your-api-gateway-url.amazonaws.com/">https://your-api-gateway-url.amazonaws.com</a></li></ul><p>All queries inherit this auth automatically. The parser used across all panels is <strong>Backend</strong> — this is the correct parser for Grafana Cloud as it processes the response server-side, bypassing browser CORS restrictions.</p><h3>Dashboard Variable for Station Selector</h3><pre>Type: Custom<br>Name: station<br>Label: Station<br>Options: CSTM,Dadar,Andheri,Borivali,Thane,Kurla,Bandra,Panvel<br>Allow custom value: true</pre><p>The Next Arrivals panel URL uses ${station} which Grafana substitutes at query time — switching stations in the dropdown fires a live API call and refreshes the table instantly.</p><h3>Panel by Panel — Final Configuration</h3><h3>Panel 7 — Header Text (Full Width)</h3><p>A markdown text panel spanning the full 24-column width at the top:</p><pre>## 🚇 Live Mumbai Transport Information</pre><pre>This dashboard displays **real-time travel information** for Mumbai&#39;s Local <br>transport network using the custom **Transport for Mumbai API**.</pre><pre>💡 **Data includes:** Live Local Train arrivals, line status updates, and <br>current service disruptions across the Mumbai Local Rail network.</pre><p>This panel anchors the dashboard for a conference audience. At a glance, someone walking by knows what they’re looking at.</p><h3>Panel 1 — Line Status (Stat)</h3><p><strong>Query:</strong> GET /lines/status → format: dataframe, parser: backend</p><p><strong>Columns:</strong> line (String), status (String), status_code (Number)</p><p><strong>Transformations:</strong></p><ol><li>Filter fields by name → keep Line + Status Code</li><li>Organise fields → rename Status Code to a single space &quot; &quot; (hides the label cleanly)</li><li>Partition by values → Line</li></ol><p><strong>Value mappings:</strong></p><p>Value Text Colour 0 Normal Green 1 Delay Orange 2 Disrupted Red</p><p><strong>Options:</strong> Colour mode: Background, Graph mode: Area</p><p>The &quot; &quot; Rename trick on Status Code is worth calling out — it removes the field label from the stat tile without hiding the value, giving a clean, coloured tile showing just the line name and status text.</p><h3>Panel 2 — Trains Running vs Halted (Bar Gauge)</h3><p><strong>Query:</strong> GET /trains/count → format: table, parser: backend</p><p><strong>Columns:</strong> line, running, halted</p><p><strong>Transformations:</strong> Partition by values → Line</p><p><strong>Thresholds (percentage mode):</strong></p><ul><li>0% → Green</li><li>60% → Orange</li><li>80% → Red</li></ul><p>Using <strong>percentage thresholds</strong> rather than absolute values was the right call here — the three lines have different total train counts (180/210/95), so an absolute threshold of 150 would mean different things per line. The percentage normalises across them.</p><p><strong>Options:</strong> Orientation: Horizontal, Display mode: Basic, Transparent background.</p><h3>Panel 3 — AC vs Non-AC Frequency (Stat)</h3><p><strong>Query:</strong> GET /trains/frequency → format: table, parser: backend</p><p><strong>Columns:</strong> line, type, trains_per_hour</p><p><strong>Transformations:</strong> Partition by values → Line + Type (with asLabels: true)</p><p><strong>Display name:</strong> ${__field.labels.Line}: ${__field.labels.Type}</p><p>This gives tiles labelled Central: AC, Central: Non-AC, etc. — clean and unambiguous.</p><p><strong>Colour overrides:</strong></p><ul><li>Regex .*AC.* → Fixed blue</li><li>Regex .*Non-AC.* → Fixed teal (#35d0c4)</li></ul><p>Using regex matchers on series names rather than field names was necessary here because partition by values creates dynamically named series. Blue vs teal gives instant visual separation between service types without implying good/bad.</p><p><strong>Options:</strong> Orientation: Vertical, Color mode: Background, Transparent background.</p><h3>Panel 4 — Crowd Load by Zone (Heatmap)</h3><p><strong>Query:</strong> GET /crowd/heatmap?hours=12 → format: timeseries, parser: backend</p><p><strong>Columns:</strong> timestamp (Timestamp), zone (String), density (Number)</p><p>The heatmap panel auto-groups by the string field (zone) when format is timeseries — each zone becomes a row, each timestamp a column, density drives the cell colour.</p><p><strong>Options:</strong> Colour scheme: Oranges, Calculate: Off, Cell gap: 1px, Transparent background.</p><p>The Oranges scheme was deliberately chosen — it reads intuitively as heat/crowd density without being alarm-colored (which red would be).</p><h3>Panel 5 — Real-time Incidents (Table)</h3><p><strong>Query:</strong> GET /incidents → format: table, parser: backend</p><p><strong>Columns:</strong> line, severity, type, description, station, duration_min, resolved</p><p><strong>Transformations:</strong> Organise fields → exclude Duration (min) from default view</p><p><strong>Field overrides:</strong></p><p><em>Severity</em> — value mappings with color-text cell type:</p><ul><li>critical → ● Critical → dark-red</li><li>high → ● High → dark-orange</li><li>medium → ● Medium → dark-yellow</li><li>low → ● Low → dark-green</li></ul><p><em>Type</em> — human-readable value mappings:</p><ul><li>signal_failure → Signal Failure</li><li>overhead_wire_fault → Overhead Wire Fault</li><li>track_obstruction → Track Obstruction</li><li>flooding → Flood</li><li>crowd_control → Crowd Control</li><li>medical_emergency → Medical Emergency</li><li>technical_fault → Technical Fault</li></ul><p><em>Resolved</em> — value mappings: true → Yes, false → No</p><p><strong>Options:</strong> Cell height: Small (compact), Transparent background.</p><p>The Type field mappings were added during the session after someone in the audience noted that signal_failure the raw snake_case looked unfinished on a public-facing dashboard. A five-minute fix that made a real difference.</p><h3>Panel 6 — Next Arrivals (Table)</h3><p><strong>Query:</strong> GET /arrivals?station=${station} → format: table, parser: backend</p><p><strong>Columns:</strong> train_no, destination, platform, eta_minutes, type, status, delay_min</p><p><strong>Field overrides:</strong></p><p><em>Status</em> — value mappings + color-background (gradient mode):</p><ul><li>on_time → ✓ On Time → green</li><li>delayed → ⚠ Delayed → red</li><li>arriving → → Arriving → dark-green</li></ul><p><em>ETA (min)</em> — color-background (gradient mode) with thresholds:</p><ul><li>0 → Green</li><li>10 → Yellow</li><li>20 → Orange</li><li>30 → Red</li></ul><p><strong>Sort:</strong> ETA (min) descending by default in config (override to ascending in UI for nearest train first).</p><p><strong>Options:</strong> Cell height: Small, Transparent background.</p><p>The gradient mode on ETA background gives a smooth color transition as trains get closer — green for far away, burning orange/red for imminent arrivals. It reads naturally without needing a legend.</p><h3>The Grafana Transformation That Makes Everything Work</h3><p>The most powerful tool in this dashboard is Partition by values. The Infinity plugin returns a flat JSON array — multiple rows, multiple fields. Grafana by default collapses this into a single visualisation. Partition by values splits it into separate data frames, one per unique value of a field.</p><p><strong>Without Partition by values:</strong> One stat tile showing the last value.<br> <strong>With Partition by values on </strong><strong>Line:</strong> Three stat tiles, one per line.</p><p>This is the transformation that turns a 3-row JSON array into 3 colour-coded line status tiles — and the same technique creates 6 frequency tiles from a 6-row array.</p><h3>What We Learned</h3><p><strong>1. Design the API for the visualisation, not for REST purity.</strong><br> The severity_code field alongside severity string is not RESTful — but it makes Grafana colour coding trivial. Always think about what the consumer needs.</p><p><strong>2. Use the Backend parser on Grafana Cloud.</strong><br> The JSONata parser runs client-side in the browser. The Backend parser runs server-side in Grafana’s backend process — it handles CORS correctly, supports the Allowed Hosts security check, and is the right choice for any cloud-hosted Grafana instance.</p><p><strong>3. Partition by values is the most underused Grafana transformation.</strong><br> Most people don’t know it exists. It is the difference between one ugly aggregate tile and six beautiful individual tiles.</p><p><strong>4. Percentage thresholds beat absolute thresholds for comparative bar gauges.</strong><br> When visualising counts across categories with different totals (Central has 180 trains, Harbour has 95), percentage thresholds normalise the comparison. Absolute thresholds would be misleading.</p><p><strong>5. Transparent backgrounds unify the dashboard.</strong><br> Setting transparent: true on panels removes the dark card borders and makes the whole dashboard feel like one cohesive surface rather than a grid of disconnected boxes. Small change, big visual impact.</p><p><strong>6. Value mappings for raw API strings matter for public demos.</strong><br> signal_failure Looks unfinished. Signal Failure Looks like a product. Add value mappings for any snake_case or machine-readable strings before going on screen.</p><p><strong>7. The </strong><strong>${variable} Syntax in URLs is incredibly powerful.</strong><br> A single endpoint + a dashboard variable gives you an interactive panel that behaves like a custom application. The station selector driving the arrivals table felt like a live app to the audience.</p><h3>The Full Stack Summary</h3><p>Layer Technology API Framework FastAPI (Python 3.11) Lambda Adapter Mangum Deployment AWS SAM + CloudFormation Hosting AWS Lambda + API Gateway HTTP API Region ap-south-1 (Mumbai) Visualisation Grafana Cloud Dashboard schema Grafana API v2 (GridLayout) Datasource Yesoreyeram Infinity Plugin Parser Backend Auth API Key header (X-API-Key) Cost $0 (Lambda free tier)</p><h3>Running It Yourself</h3><p>The full source code — API, SAM template, deploy script, and Postman collection — is available. To spin up your own instance:</p><pre>git clone &lt;repo&gt;<br>cd mumbai-train-api<br>chmod +x deploy.sh<br>./deploy.sh your-secret-key ap-south-1</pre><p>The deploy script prints your API URL. Configure that URL as an Infinity datasource in Grafana (Backend parser, API Key auth, Allowed hosts), import the dashboard JSON, and you have a live Mumbai Local Train dashboard running in under 10 minutes.</p><h3>Conclusion</h3><p>The Grafana Infinity plugin removes the biggest barrier to dashboarding real-world data — the need for a purpose-built data source plugin or a Prometheus exporter. If your data is accessible over HTTP and returns JSON, CSV, or XML, Infinity can visualise it.</p><p>The Mumbai Local Train dashboard demonstrates seven panels, four Grafana transformation types, the Backend parser, API key auth, dashboard variables, transparent panel layouts, and realistic dummy data — all in a single coherent demo that anyone who has ever taken a local train in Mumbai can immediately understand.</p><p>That was the point. Great observability tooling should make complex data feel simple and immediate. We think we landed that.</p><h3>📸 Photos from the Event</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DEO7EG40tbo5gFkUaxNGRQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yp0DxtQHlX-WP5DyHcFMiA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q8_WqOPe-eIxx0yOdOB2Eg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qul8fZbO2oYIFFEoCW24bw.jpeg" /></figure><p><strong>Tags:</strong> grafana infinity-plugin aws-lambda fastapi mumbai grafanacon observability rest-api dashboard grafana-cloud</p><p><em>Questions about the implementation? Drop them in the comments or reach out on LinkedIn.</em></p><p>Sourcecode— <a href="https://github.com/yashgkar/grafanacon-mumbai-train-dashboard">https://github.com/yashgkar/grafanacon-mumbai-train-dashboard</a></p><p>Yash — <a href="https://www.linkedin.com/in/yashgkar/">https://www.linkedin.com/in/yashgkar/</a></p><p>Nikita — <a href="https://www.linkedin.com/in/shinde-nikita/">https://www.linkedin.com/in/shinde-nikita/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d8134ae1685" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Supercharging Apps with Generative AI — A Dive into Amazon Bedrock]]></title>
            <link>https://yashgarudkar.medium.com/supercharging-apps-with-generative-ai-a-dive-into-amazon-bedrock-dbfe3b25a4ab?source=rss-55b5daddb0f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbfe3b25a4ab</guid>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[bedrock]]></category>
            <dc:creator><![CDATA[Yash Garudkar]]></dc:creator>
            <pubDate>Mon, 05 May 2025 12:38:54 GMT</pubDate>
            <atom:updated>2025-05-05T12:42:04.141Z</atom:updated>
            <content:encoded><![CDATA[<h3>Supercharging Apps with Generative AI — Dive into Amazon Bedrock</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kWGsGBbLySCLNAqWAKpdew.jpeg" /><figcaption>AWS Bedrock</figcaption></figure><p>Welcome to the era where apps don’t just respond — they think, generate, and adapt.</p><p>If you’ve been itching to get your hands dirty with <strong>Generative AI</strong>, but GPU setups, model tuning, or MLOps made you feel like you’re coding on a Rubik’s Cube — worry no more.</p><p><strong>Amazon Bedrock</strong> lets you focus on the <em>magic</em>, not the <em>mechanics</em>.</p><p>I recently gave an offline session on this topic at AWS UG Nashik. This blog is a quick walkthrough of the same.</p><h3>What is Amazon Bedrock?</h3><p>Amazon Bedrock is <strong>AWS’s no-hassle gateway</strong> to working with cutting-edge <em>foundation models (FMs)</em> from top AI labs — all through an API.</p><h3>🧰 Features:</h3><ul><li>✅ <strong>Fully managed</strong> — No server management</li><li>💻 <strong>Zero GPU drama</strong> — You don’t need to provision anything</li><li>🔄 <strong>API-ready</strong> — Just send input and get GenAI magic back</li></ul><h3>📦 Models You Can Use:</h3><ul><li><strong>Anthropic</strong> — Claude (language/chat)</li><li><strong>Stability AI</strong> — For stunning image generation</li><li><strong>AI21 Labs</strong> — Language models like Jurassic</li><li><strong>Cohere</strong> — Command and embed models</li><li><strong>Meta</strong> — Llama family models (high performance, open-weight)</li></ul><h3>Why Use Bedrock?</h3><p>Here’s the elevator pitch you wish you had for your boss:</p><ul><li>🧠 <strong>Zero Infrastructure Hassle</strong></li><li>🚀 <strong>Deploy in Minutes</strong></li><li>🔐 <strong>Enterprise-Ready Privacy and Security</strong></li><li>💰 <strong>Pay-as-you-go Pricing</strong></li><li>🔌 <strong>Deep AWS Integration</strong> (S3, Lambda, SageMaker, you name it)</li></ul><blockquote><em>TL;DR — It’s GenAI as a service, with all the grown-up security and scalability.</em></blockquote><h3>Bedrock Architecture — Simpler Than IKEA</h3><p>A high-level architecture looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*HKOQm3S4j2Rom6_dv4exhQ.png" /><figcaption>High level architect of an applicaiton using bedrock.</figcaption></figure><p>🎯 Optional integrations:</p><ul><li><strong>S3</strong> — For storing prompt/response logs</li><li><strong>API Gateway</strong> — For REST endpoints</li><li><strong>Lambda</strong> — For serverless GenAI pipelines</li></ul><blockquote><em>Want to build Slack bots, customer support chat, or creative tools? Bedrock fits right into your AWS stack.</em></blockquote><h3>Use Cases That’ll Make You Say “Whoa😮”</h3><p>Here are just a few things you can build with Bedrock in a weekend:</p><ul><li>💬 <strong>AI Chatbots</strong> (for support, HR, onboarding)</li><li>🖼️ <strong>Image Generators</strong> (for marketing teams)</li><li>🧠 <strong>Code Auto-Generators</strong> (for dev productivity)</li><li>✂️ <strong>Text Summarizers</strong> (for docs, reports)</li><li>📬 <strong>Automated Email Responses</strong> (for CRM)</li></ul><blockquote><em>If you can dream it, you can prompt it.</em></blockquote><h3>Workshop Use Case — Claude Chatbot in Minutes</h3><p><strong>Use Case</strong>: Building a Claude-powered chatbot using Amazon Bedrock.</p><h3>🧪 What We Built:</h3><ul><li>A simple <strong>CLI-based chatbot</strong></li><li>User types a message</li><li>The message is sent to the <strong>Claude model</strong> via Bedrock API</li><li>The <strong>response</strong> is printed in the terminal</li></ul><p>Zero model training. Just plug, prompt, and play.</p><h3>⚡ Making Bedrock Serverless — The Real Magic</h3><p>Amazon Bedrock isn’t just cool — it’s <strong>serverless-cool</strong>.</p><h3>How?</h3><p>You can create a <strong>REST API around Bedrock</strong> using:</p><ul><li><strong>API Gateway</strong> — Exposes REST endpoints</li><li><strong>AWS Lambda</strong> — Invokes Bedrock models via SDK</li><li><strong>IAM roles + STS</strong> — To securely access Bedrock with session tokens</li><li><strong>CloudWatch Logs</strong> — To monitor your prompts/responses</li></ul><h3>🔐 Using Bedrock via REST with Session Tokens (The Secure Way)</h3><p>Here’s a real-world architecture using <strong>temporary credentials</strong>:</p><h3>✅ Step-by-Step:</h3><ol><li><strong>Get STS Credentials</strong><br>Run this: <strong>aws sts get-session-token — duration-seconds 3600</strong></li><li><strong>Use These in Postman or Lambda</strong>:<br>AccessKeyId, SecretAccessKey, SessionToken <br><strong>Postman</strong> makes this easy, go to <strong>authorization and choose AWS Signature</strong>, then fill all the input fields. You already must have the client id, secret id, session token, for service name use “bedrock” and for region choose the region you have enabled your model inside for me.</li><li><strong>Call Bedrock API</strong>:<br>Make a POST request to:</li></ol><pre>https://bedrock-runtime.us-east-1.amazonaws.com/model/amazon.titan-text-lite-v1/invoke</pre><pre>{<br>  &quot;inputText&quot;: &quot;Summarize the benefits of cloud computing.&quot;<br>}</pre><p>Use <a href="https://docs.aws.amazon.com/bedrock/">https://docs.aws.amazon.com/bedrock/</a> for more details on documentation and how you can integrate this service with your existing and new applications.</p><h3>Final Thoughts 💬</h3><p>That’s all!</p><p>Amazon Bedrock is <strong>GenAI without the friction</strong> — perfect for developers who want to <em>build smarter apps</em>, not battle GPUs.</p><p>Whether you’re building a chatbot, a content generator, or a smart assistant, Bedrock + serverless AWS = your AI superpowers.</p><p>Feel free to reach out on LinkedIn: <a href="https://www.linkedin.com/in/yashgkar/">https://www.linkedin.com/in/yashgkar/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbfe3b25a4ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting started with AWS EC2 and RDS using Node.js and Postgres]]></title>
            <link>https://yashgarudkar.medium.com/deploying-a-node-js-backend-with-sequelize-on-aws-ec2-and-rds-for-postgresql-a99e3c5f347e?source=rss-55b5daddb0f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/a99e3c5f347e</guid>
            <category><![CDATA[aws-rds]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[postgres]]></category>
            <dc:creator><![CDATA[Yash Garudkar]]></dc:creator>
            <pubDate>Fri, 10 Jan 2025 18:24:38 GMT</pubDate>
            <atom:updated>2025-01-10T18:41:09.628Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZoRNRndWUNRx7Ya4IwiTaw.png" /></figure><p>Deploying a Node.js backend can be challenging, especially when configuring AWS EC2 for server hosting and RDS for database management. In this guide, we’ll set up an API with Node.js and Sequelize, deploy it on an EC2 instance, and configure an RDS PostgreSQL database to work seamlessly with the EC2 instance.</p><p>I recently gave an online session on this topic and thought of writing this blog for the ones who like reading than a video (I might be one of you🫡)</p><h3>1. Setting Up the Node.js Project</h3><h4>Project Initialization</h4><ol><li>Initialize a new Node.js project:</li></ol><pre>mkdir my-node-app<br>cd my-node-app<br>npm init -y</pre><p>2. Install necessary dependencies</p><pre>npm install express sequelize pg pg-hstore dotenv</pre><h4>Project Structure</h4><p>Organize the project with a structure that’s scalable for future growth. Here’s an example:</p><pre>my-node-app/<br>├── config/<br>│   └── config.js        # Database configuration<br>├── models/<br>│   └── index.js         # Sequelize models setup<br>├── routes/<br>│   └── index.js         # Define API routes<br>├── .env                 # Environment variables<br>└── app.js               # Express application setup</pre><h4>2. Configuring Sequelize with PostgreSQL</h4><ol><li>Create a .env file to store environment variables:</li></ol><pre>DB_HOST=your_rds_endpoint<br>DB_PORT=5432<br>DB_USER=your_rds_username<br>DB_PASSWORD=your_rds_password<br>DB_NAME=your_rds_database</pre><p>2. Set up the Sequelize configuration in config/config.js:</p><pre>require(&#39;dotenv&#39;).config();<br><br>module.exports = {<br>  development: {<br>    username: process.env.DB_USER,<br>    password: process.env.DB_PASSWORD,<br>    database: process.env.DB_NAME,<br>    host: process.env.DB_HOST,<br>    dialect: &#39;postgres&#39;<br>  }<br>};</pre><p>3. Define the model setup in models/index.js:</p><pre>const Sequelize = require(&#39;sequelize&#39;);<br>const config = require(&#39;../config/config.js&#39;)[&#39;development&#39;];<br>const sequelize = new Sequelize(config.database, config.username, config.password, config);<br><br>module.exports = sequelize;</pre><h4>3. Building an Example API Endpoint</h4><ol><li>Create a sample API endpoint in routes/index.js:</li></ol><pre>const express = require(&#39;express&#39;);<br>const router = express.Router();<br>const sequelize = require(&#39;../models/index.js&#39;);<br><br>router.get(&#39;/status&#39;, async (req, res) =&gt; {<br>  try {<br>    await sequelize.authenticate();<br>    res.json({ message: &#39;Connection has been established successfully.&#39; });<br>  } catch (error) {<br>    res.status(500).json({ message: &#39;Unable to connect to the database.&#39;, error });<br>  }<br>});<br><br>module.exports = router;</pre><p>2. Integrate the route with the Express app in app.js:</p><pre>const express = require(&#39;express&#39;);<br>const app = express();<br>const routes = require(&#39;./routes/index.js&#39;);<br><br>app.use(&#39;/api&#39;, routes);<br><br>const PORT = process.env.PORT || 3000;<br>app.listen(PORT, () =&gt; console.log(`Server is running on port ${PORT}`));</pre><h3>2. AWS EC2 Setup for Node.js</h3><h4>Launching an EC2 Instance</h4><ol><li>Go to <a href="https://aws.amazon.com/ec2/">AWS EC2 Dashboard</a> and launch a new instance.</li><li>Choose <strong>Amazon Linux 2</strong> or <strong>Ubuntu</strong> as the instance type.</li><li>Select an instance size (e.g., <strong>t2.micro</strong> for free-tier eligible).</li><li>Configure security groups to allow HTTP (port 80), HTTPS (port 443), and SSH (port 22).</li></ol><h4>SSH into the EC2 Instance</h4><ol><li>Connect to your instance using SSH:</li></ol><pre>ssh -i /path/to/your-key.pem ec2-user@your-ec2-public-dns</pre><p>2. Update the instance and install Node.js and npm:</p><pre>sudo yum update -y<br>sudo yum install -y nodejs</pre><h4>Setting Up Your Project on EC2</h4><ol><li>Clone your project repository or copy your files to the server.</li><li>Install project dependencies:</li></ol><pre>npm install</pre><p>3. Set up environment variables on the EC2 instance:</p><pre>export DB_HOST=your_rds_endpoint<br>export DB_PORT=5432<br>export DB_USER=your_rds_username<br>export DB_PASSWORD=your_rds_password<br>export DB_NAME=your_rds_database</pre><p>4. Start the server:</p><pre>node app.js</pre><h3>3. Setting Up PostgreSQL with AWS RDS</h3><h4>Creating an RDS Instance</h4><ol><li>Go to <a href="https://aws.amazon.com/rds/">AWS RDS Console</a> and create a new PostgreSQL instance.</li><li>Configure database details and select a public subnet for accessibility.</li><li>Take note of the <strong>RDS endpoint</strong> to use in your .env file.</li></ol><h4>Configuring RDS Security</h4><ol><li>In your EC2 security group, add an inbound rule to allow the RDS instance to accept connections from the EC2 IP address.</li><li>In your RDS instance security group, add an inbound rule for the PostgreSQL port (default is <strong>5432</strong>) to allow the EC2 instance to connect.</li></ol><h4>Connecting EC2 and RDS</h4><p>After configuring the security groups, use your RDS instance endpoint in the .env file or directly export it on EC2, as shown above.</p><h3>4. Testing the API</h3><ol><li>After starting the server, navigate to the public IP of your EC2 instance (e.g., <a href="http://your-ec2-public-dns:3000/api/status).">http://your-ec2-public-dns:3000/api/status).</a></li><li>You should see a JSON response confirming the database connection:</li></ol><pre>{<br>  &quot;message&quot;: &quot;Connection has been established successfully.&quot;<br>}</pre><h3>5. Making the Application Production-Ready</h3><p>To keep your Node.js server running, consider using a process manager like <strong>PM2</strong>:</p><ol><li>Install PM2:</li></ol><pre>sudo npm install pm2 -g</pre><p>2. Start your app with PM2:</p><pre>pm2 start app.js --name my-node-app</pre><p>3. PM2 will keep the app running, even if the server restarts.</p><h3>Conclusion</h3><p>In this setup, we’ve created a Node.js API, deployed it on an EC2 instance, and connected it to an RDS PostgreSQL database. This setup ensures a scalable, production-ready backend with persistent storage and a managed database solution on AWS.</p><h3>Connect with me</h3><p>LinkedIn: <a href="https://www.linkedin.com/in/yashgarudkar/">https://www.linkedin.com/in/yashgarudkar/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a99e3c5f347e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Node.js V23.6.0 released; now runs TypeScript!?]]></title>
            <link>https://javascript.plainenglish.io/node-js-v23-6-0-released-now-runs-typescript-202b21d2560f?source=rss-55b5daddb0f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/202b21d2560f</guid>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[backend-development]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Yash Garudkar]]></dc:creator>
            <pubDate>Thu, 09 Jan 2025 10:31:08 GMT</pubDate>
            <atom:updated>2025-01-13T07:58:29.071Z</atom:updated>
            <content:encoded><![CDATA[<p>Yep, you read it right 🚀</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-RvF56O9_eWANxnl75eh0Q.png" /><figcaption>Node.js text over html code 😂🧑‍💻 pulled from google.</figcaption></figure><p>Node.js V23.6.0 now supports typescript files out of the box without any additional configuration. This is an experimental feature 🤫</p><pre>node server.ts</pre><p>The command above will work from now on.</p><p>Node.js uses the <strong>— — experimental-strip-types </strong>flag to enable/disable this feature. V23.6.0 will have this flag enabled by default.</p><h4>How to use it?</h4><p>This feature is still experimental, meaning it should be used cautiously; not in production 🙂‍↔️, but it will be helpful once this becomes a completely stable feature. For now, it should be helpful to run small projects and POCs (that&#39;s why I’m gonna do😉)</p><h4>Why does it matter?</h4><p>Even though the feature is in experimental mode, it is a step forward in the correct direction. As a backend developer, I use typescript to build node.js applications. Making the initial boilerplate/setup for the backend is a process we must tailor every time. Once the feature is stable in a future version we will be able to start projects without any additional setup.</p><h4>Conclusion</h4><p>Check out all other features and changelog on the <a href="https://nodejs.org/en/blog/release/v23.6.0">node.js official release note</a>.</p><p>Thanks for reading this far. Hoping to connect with you!</p><p>GitHub: <a href="https://github.com/yashgkar">https://github.com/yashgkar</a><br>LinkedIn: <a href="https://www.linkedin.com/in/yashgarudkar/">https://www.linkedin.com/in/yashgarudkar/</a></p><h3>Thank you for being a part of the community</h3><p><em>Before you go:</em></p><ul><li>Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏<strong>️️</strong></li><li>Follow us: <a href="https://x.com/inPlainEngHQ"><strong>X</strong></a> | <a href="https://www.linkedin.com/company/inplainenglish/"><strong>LinkedIn</strong></a> | <a href="https://www.youtube.com/channel/UCtipWUghju290NWcn8jhyAw"><strong>YouTube</strong></a> | <a href="https://newsletter.plainenglish.io/"><strong>Newsletter</strong></a> | <a href="https://open.spotify.com/show/7qxylRWKhvZwMz2WuEoua0"><strong>Podcast</strong></a></li><li><a href="https://cofeed.app/"><strong>Check out CoFeed, the smart way to stay up-to-date with the latest in tech</strong></a> <strong>🧪</strong></li><li><a href="https://differ.blog/"><strong>Start your own free AI-powered blog on Differ</strong></a> 🚀</li><li><a href="https://discord.gg/in-plain-english-709094664682340443"><strong>Join our content creators community on Discord</strong></a> 🧑🏻‍💻</li><li>For more content, visit <a href="https://plainenglish.io/"><strong>plainenglish.io</strong></a> + <a href="https://stackademic.com/"><strong>stackademic.com</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=202b21d2560f" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/node-js-v23-6-0-released-now-runs-typescript-202b21d2560f">Node.js V23.6.0 released; now runs TypeScript!?</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Leveraging EC2 Instances for Deploying a Full Stack MERN Application]]></title>
            <link>https://yashgarudkar.medium.com/leveraging-ec2-instances-for-deploying-a-full-stack-mern-application-11e5aa62f882?source=rss-55b5daddb0f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/11e5aa62f882</guid>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[instance]]></category>
            <category><![CDATA[mern-stack]]></category>
            <dc:creator><![CDATA[Yash Garudkar]]></dc:creator>
            <pubDate>Fri, 23 Feb 2024 14:44:06 GMT</pubDate>
            <atom:updated>2024-02-23T14:44:06.923Z</atom:updated>
            <content:encoded><![CDATA[<p>In the realm of web development, deploying a full-stack application is a significant milestone. And when it comes to hosting such applications, Amazon Web Services (AWS) offers a plethora of options. Among these, Amazon Elastic Compute Cloud (EC2) stands out as a reliable and flexible choice. In this article, we’ll delve into the process of deploying a full stack MERN (MongoDB, Express.js, React.js, Node.js) application using EC2 instances on AWS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JzeDzU9TLRXYHAlCp_xe3A.jpeg" /><figcaption>Is it a production release?</figcaption></figure><blockquote>What is MERN? MERN is a popular stack for building dynamic web applications. It comprises four key technologies:</blockquote><ul><li>MongoDB: A NoSQL database that stores data in flexible, JSON-like documents.</li><li>Express.js: A web application framework for Node.js, designed for building web applications and APIs.</li><li>React.js: A JavaScript library for building user interfaces, particularly for single-page applications.</li><li>Node.js: A JavaScript runtime built on Chrome’s V8 JavaScript engine, used for server-side scripting.</li></ul><p>Why EC2? Amazon EC2 offers a scalable computing capacity in the cloud. It allows users to rent virtual servers, known as instances, and run applications on them. EC2 provides various instance types optimized for different workloads, along with features like security groups, elastic IP addresses, and load balancing, making it an ideal choice for hosting MERN applications.</p><h4>Steps to Deploy a Full Stack MERN Application on EC2:</h4><ol><li><strong>Create an EC2 Instance</strong>: Start by launching an EC2 instance from the AWS Management Console. Choose an appropriate Amazon Machine Image (AMI) based on your requirements, configure instance details, and set up security groups.</li><li><strong>Install Node.js and MongoDB</strong>: Once the EC2 instance is up and running, connect to it using SSH. Install Node.js and MongoDB on the instance. Node.js will be used to run the server-side code, while MongoDB will serve as the database.</li><li><strong>Clone Your Application Repository</strong>: Clone your MERN application repository from a version control system like GitHub onto the EC2 instance. Make sure to install any dependencies required by your application using npm or yarn.</li><li><strong>Configure Environment Variables</strong>: Set up environment variables for your application, such as database connection strings, API keys, and other configurations. You can either define these variables directly on the instance or use a more secure method like AWS Systems Manager Parameter Store.</li><li><strong>Run the Backend Server</strong>: Navigate to the backend directory of your application and start the Express.js server using Node.js. You may choose to run the server in the background using tools like pm2 to ensure it remains running even after logging out of the SSH session.</li><li><strong>Build and Serve the Frontend</strong>: Move to the frontend directory of your application, build the React.js frontend using npm or yarn, and serve it using a web server like Nginx or serve-static.</li><li>C<strong>onfigure Nginx (Optional)</strong>: If you’re using Nginx as a reverse proxy to route incoming HTTP requests to your Node.js server, configure Nginx accordingly. This step can help improve security and performance by offloading static file serving and SSL termination to Nginx.</li><li><strong>Set Up Domain Name and SSL</strong>: Point your domain name to the public IP address or domain name of your EC2 instance. Optionally, configure SSL/TLS certificates using AWS Certificate Manager or Let’s Encrypt for secure HTTPS communication.</li><li><strong>Monitor and Maintain</strong>: Monitor the performance and health of your EC2 instance using AWS CloudWatch or third-party monitoring tools. Perform regular maintenance tasks such as applying security patches, updating dependencies, and optimizing resource utilization.</li></ol><p>This is a comprehensive introduction to implementing this deployment flow. You can find the <a href="https://docs.aws.amazon.com/ec2/">AWS Documentation</a> to help you with the specifics of the deployment and tailoring it to your application architecture.</p><p>Conclusion: Deploying a full-stack MERN application on EC2 instances provides a scalable and cost-effective solution for hosting dynamic web applications. By following the steps outlined in this article, you can leverage the power of AWS to deploy your MERN applications with ease. With EC2’s flexibility and scalability, you can focus on building and enhancing your application while AWS takes care of the infrastructure management.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=11e5aa62f882" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is your react app really production optimized?]]></title>
            <link>https://yashgarudkar.medium.com/is-your-react-app-really-production-optimized-ee7a76f575af?source=rss-55b5daddb0f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee7a76f575af</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[code-quality]]></category>
            <category><![CDATA[seo]]></category>
            <category><![CDATA[nextjs]]></category>
            <dc:creator><![CDATA[Yash Garudkar]]></dc:creator>
            <pubDate>Thu, 13 Oct 2022 19:22:16 GMT</pubDate>
            <atom:updated>2022-10-13T19:27:41.235Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FpjnfNhaFmkhxu%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fryan-gosling-what-confused-pjnfNhaFmkhxu&amp;image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2FpjnfNhaFmkhxu%2Fgiphy.gif%3Fcid%3D790b7611549c2958cfee4e89227276b49b84eb728ebfbdce%26rid%3Dgiphy.gif%26ct%3Dg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="242" frameborder="0" scrolling="no"><a href="https://medium.com/media/89410c8545930dc54e78944014e679d4/href">https://medium.com/media/89410c8545930dc54e78944014e679d4/href</a></iframe><p>React apps are viewed as client-side applications. But many of us often forget that it is the sole library that when paired with other libraries makes a perfect application that matches your business needs.</p><p>Today I would like to discuss some tips that can make your application production ready, and share some principles set by React that make your app highly optimized and efficient for production.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*pXxb8eXu71xUFpCsKxx1Mw.jpeg" /><figcaption>Simple, you learn to write it…</figcaption></figure><h4>1. React with Typescript:</h4><p>If you are not aware of <a href="https://www.typescriptlang.org/">TS</a>: TS is a strongly typed language. It gives you an additional set of features and runs wherever javascript runs. Make no mistake it does not run on the browser, it will give out a javascript file that you may run on the browser and another important feature is catching your errors in the code editor itself.</p><p>One of the most important steps you can take when creating a react app is to create it with a <a href="https://create-react-app.dev/docs/adding-typescript/">typescript setup</a>. Eventually, sometime in future, you will figure out that a type-safe application will make your team more efficient and reduces bugs by a whole lot.</p><h4>2. useMemo and memo:</h4><p>useMemo and memo are used in react for memoization. <br>In plain English, memoization returns a cached value unless any dependencies or props change in terms of react application.<br><strong>1. useMemo: </strong>this react hook comes out of the box in react and can be used to create a cached value to make sure your variable is not initialized every time a render occurs.<br><strong>2. memo:</strong> memo is a HOC (high order component) used to wrap a react component. It will only re-render the component only if there is a change in the props. It takes also an optional function that receives previous and next props and it should return a boolean value to determine re-rendering. This way you are in the driver&#39;s seat and take control of whether to re-render the component on not…</p><h4><strong>3. useCallback:</strong></h4><p><a href="https://reactjs.org/docs/hooks-reference.html#usecallback">useCallback</a> is a react hook that takes in a function prop and an array of dependencies used inside the function prop. Just like the useMemo hook, this hook will return a memoized callback which will change the function only if there is a change in the dependencies.</p><h4>4. Linting:</h4><p>Lets say there is not just you working on your big startup idea anymore there&#39;s a whole team now(woo hoo!) and many other developers will work on the code that you wrote. But now there is no way for you to know that the coding standards your followed will be followed by your fellow teammates anymore. This is where linting walks through the door. All you have to do is setup the lint config and add a pre-commit hook using <a href="https://www.npmjs.com/package/husky">husky</a> and whenever a teammate makes a commit lint will either fix a fixable problem or throw and error and exit the commit.</p><p>This ensures code readability, functionality and maintainability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/0*7fHzg_d-qeFpirLa.jpeg" /><figcaption>Your eslint config…</figcaption></figure><h4>5. .env variables</h4><p>Your projects has keys, tokens, db uri’s, etc. These include sensitive information that have no place to be in the public record. Hence we never code them in our application. We add those key value pairs to .env files (environment variables) and then import them into our application. The method varies from how your app is setup so check out the documentation accordingly.</p><h4>6. Bonus: Next.js</h4><p>What is Next.js? — Next js is a react framework that allows us to create dynamic server render pages using react syntactic sugar.<br>Why use Next.js? — The internet is a SEO race, the more pages getting server render = higher SEO rankings.<br>Next.js has many features — SSR, SSG, meta tags, image optimization, routing, pages.</p><p>I hope you liked this quick article. If you have any suggestions I’m always ready to hear out.</p><h3>Connect with me</h3><p>Personal site: <a href="https://yashgkar.vercel.app/">https://yashgkar.vercel.app</a><br>GitHub: <a href="https://github.com/yashgkar">https://github.com/yashgkar</a><br>LinkedIn: <a href="https://www.linkedin.com/in/yashgarudkar/">https://www.linkedin.com/in/yashgarudkar/</a><br>Twitter: <a href="https://twitter.com/codeitachi">https://twitter.com/codeitachi</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee7a76f575af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React 18, it's here already?!]]></title>
            <link>https://yashgarudkar.medium.com/react-18-its-here-already-22d392fe6a80?source=rss-55b5daddb0f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/22d392fe6a80</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[yash-garudkar]]></category>
            <category><![CDATA[react18]]></category>
            <category><![CDATA[how-to]]></category>
            <category><![CDATA[upgrade]]></category>
            <dc:creator><![CDATA[Yash Garudkar]]></dc:creator>
            <pubDate>Tue, 05 Apr 2022 14:58:29 GMT</pubDate>
            <atom:updated>2022-04-05T17:26:11.789Z</atom:updated>
            <content:encoded><![CDATA[<p>It seems like yesterday they released React 17, I guess that’s how you feel when you’ve been working from home; time didn’t wait and neither did the React team.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JJmzyegMLyuB2iiYbzegBg.jpeg" /><figcaption>React — ping me for credits of this image :-)</figcaption></figure><p>Let&#39;s dive into the new features that React 18 offers!</p><h3>React 18 — The New Features</h3><p><strong>a) Automatic batching</strong><br>We have instances where multiple states are updated on single user action. This may cause it to re-render multiple times. Auto-batching helps us to not do that and render the whole jsx once after all the states are updated corresponding to that specific user action.<br>Before React 18: un-batched</p><pre>const handleSubmit = () =&gt; {<br> setIsLoading(false) // render 1<br> setFormStatus(‘success’) // render 2<br> setData({name: “Yash”, mail: abc@gmail.com}) // render 3<br>}</pre><p>As you can see in the above code these are the places where a render will be caused in the app, totalling 3 times. Now let’s see how the same code works in React 18.</p><pre>const handleSubmit = () =&gt; {<br>  setIsLoading(false)<br>  setFormStatus(&#39;success&#39;)<br>  setData({name: &quot;Yash&quot;, mail: abc@gmail.com}) // render 1<br>}</pre><p>That’s it, it only renders once. This helps in performance optimization by reducing the much not needed renders.</p><p><strong>b) Suspense on server-side render (SSR)<br></strong>What is server-side rendering?<br>Server-side rendering is a technique for building the HTML at the server and sending it to the client while the JS bundles are loaded. It keeps the client app lightweight and makes the applications faster.</p><p>Before React 18:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*goo1mAaqsdvbdK5MRSPhow.png" /><figcaption>UI</figcaption></figure><p>Let&#39;s consider the above application UI. This UI is a server-side rendered UI that is rendered in the browser. Sometimes one of the components may be slow due to some dependency, in this case, let’s assume the Main component is slow to load component.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*zOM7yWmYoOQIqpftG4HECw.png" /><figcaption>Slowly loading component UI</figcaption></figure><p>When we look at it as an SSR page. One component slowing down means the whole page is gets slowed down which heavily impacts the performance of the app.</p><p>Now let us take a look at what happens when the same this is handled in React 18 with the server-side Suspense.</p><p><strong>SSR Suspense gives us the power to show a fallback component in case the component is not fully loaded yet.</strong></p><pre>&lt;Suspense fallback={&lt;Loader /&gt;}&gt;<br>  &lt;Main /&gt;<br>&lt;/Suspense&gt;</pre><p>This suspense jsx will wait for the Main component to complete loading, until then the Loader will be shown on the page stream.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*S0sKo8KVJ0rgjDTAdvJqqw.png" /><figcaption>Fallback UI</figcaption></figure><p>Once the main component is loaded, the UI will be shown as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*goo1mAaqsdvbdK5MRSPhow.png" /><figcaption>Final UI</figcaption></figure><p>The stream is directly sent to the client-side. All this happens before the JS bundle is even sent to the client.</p><p>Other than these new features there are concurrent features introduced as new APIs and also for libraries. These features are still in concurrent mode. (please refer link for further information)</p><blockquote><a href="https://17.reactjs.org/docs/concurrent-mode-intro.html#what-is-concurrent-mode">Concurrent Mode is a set of new features that help React apps stay responsive and gracefully adjust to the user’s device capabilities and network speed.</a></blockquote><h3>How to upgrade your existing app to React 18</h3><p>The only change needed is how you create the root for mounting the react app. This change should work with most of the apps.</p><p>Step 1: Install react@18 and react-dom-18 in your project</p><pre>npm install react@18 react-dom@18</pre><pre>OR</pre><pre>yarn add react@18 react-dom@18</pre><p>Step 2: Make changes in the index.js entry file</p><pre>import ReactDOM from &#39;react-dom/client&#39;<br>import App from &#39;./App&#39;</pre><pre>// ReactDOM.render(&lt;App /&gt;, document.getElementById(&#39;root&#39;))<br>const root = ReactDOM.createRoot(document.getElementById(&#39;root&#39;))<br>root.render(&lt;App /&gt;)</pre><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fbg1MQ6IUVoVOM%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fbg1MQ6IUVoVOM%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2Fbg1MQ6IUVoVOM%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="245" frameborder="0" scrolling="no"><a href="https://medium.com/media/372a1fd685b99c86714fdca502761750/href">https://medium.com/media/372a1fd685b99c86714fdca502761750/href</a></iframe><p>That’s all! Your application is now using the latest React v18</p><p>As always the React team never fails to surprise. React 18 has brought us lots of performance improvements and features that help build faster and more responsive applications.</p><blockquote>I hope you guys liked this article 😇</blockquote><h3>Connect with me</h3><p>GitHub: <a href="https://github.com/yashgkar">https://github.com/yashgkar</a><br>LinkedIn: <a href="https://www.linkedin.com/in/yashgarudkar/">https://www.linkedin.com/in/yashgarudkar/</a><br>Twitter: <a href="https://twitter.com/codeitachi">https://twitter.com/codeitachi</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22d392fe6a80" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Chrome Extensions in React]]></title>
            <link>https://yashgarudkar.medium.com/building-chrome-extensions-in-react-6c117e54c7eb?source=rss-55b5daddb0f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c117e54c7eb</guid>
            <category><![CDATA[google]]></category>
            <category><![CDATA[chrome-extension]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[full-stack]]></category>
            <category><![CDATA[todo]]></category>
            <dc:creator><![CDATA[Yash Garudkar]]></dc:creator>
            <pubDate>Sun, 04 Jul 2021 13:07:33 GMT</pubDate>
            <atom:updated>2021-07-06T16:46:19.155Z</atom:updated>
            <content:encoded><![CDATA[<h3>Chrome Extensions in React</h3><p>Chrome extensions are small programs that act as an addition to the Google Chrome Browser that enables the user to use additional capabilities. Some notable chrome extensions are <a href="https://chrome.google.com/webstore/detail/grammarly-for-chrome/kbfnbcaeplbcioakkpcpgfkobkghlhen?hl=en">Grammarly</a>, <a href="https://chrome.google.com/webstore/detail/amazon-assistant-for-chro/pbjikboenpfhbbejgkoklgkhjpfogcam">Amazon Assistant</a> and <a href="https://chrome.google.com/webstore/detail/honey/bmnlcjabgnpnenekpadlanbbkooimhnj">Honey</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9qjsmxTYfQlkca0T4OR1iQ.png" /><figcaption>Photo by <a href="https://unsplash.com/@plhnk?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Paul Hanaoka</a> on <a href="https://unsplash.com/s/photos/plug?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Lately, Chrome extensions are really garnering good attention for the tasks they do and automate. They are powerful tools for companies to reach the customer without having to open their webpage.</p><p>Extensions can be an excellent way of staying connected to the user via niche product feature, whenever a user is using the browser. Lately, the chrome extensions have skyrocketed the sales for many companies and also helped new startups.</p><p>React is a JavaScript library that can be used to build anything from mobile apps to websites, PWAs. The library is known for its ability to create beautiful user interfaces and the reusability of components.</p><p>Let us explore how we can create an extension using react and see how we can build a starter todo app on our own.</p><p>There are many ways you can create a react-chome extension. I am going to use <a href="https://github.com/VasilyShelkov/create-react-extension">create-react-extension</a> because it&#39;s faster and gets the project bootstrapped right away.</p><h3>How does a Chrome Extension work?</h3><p>Chrome Provides developer <a href="https://developer.chrome.com/docs/extensions/reference/">API</a>s for reference. These APIs extend our code to use features that help us do numerous things with the extensions.</p><p>In a chrome extension there are mainly two scripts that will help us to build and use our features, namely: <br>1. Background script — the browser script runs in the background of the extension, it is mainly the script that will be used if we don’t want to communicate with the website and their data.<br>2. Content script — the content script is injected into the website as the logic specifies. You can manage a specific website that matches your regex and then injects the content script accordingly.</p><h4>What if I want to communicate with the webpage and use some data from a webpage in the extension?</h4><p>This is where we use the contentScript and backgroundScript to call certain API functions that allow us to communicate with each other.</p><ol><li>Both the content and the background scripts will be assigned, specific event listeners.</li><li>The user will perform an action that will invoke an event that will dispatch a message to the contentScript.</li><li>Based on the message the content script will carry out the assigned event function and finally invoke an event function that will dispatch a message to the background script.</li></ol><p>Once a backgroundScript is loaded it stays running until it is acting. This action may be an event, that an event listener is will catch in the contentScript that depends on some data that the content script will return. <br>for eg:</p><pre>chrome.runtime.onMessage.addListener(listener: function)</pre><h3>What are we going to build?</h3><p>We will build a to-do app in React that can be used on the Chrome browser. This process will use the chrome.storage API to store and sync our tasks between browsers that we have logged into.</p><h4>1. Design the UI for the extension:</h4><p>I designed this UI in Figma, I kept it simple but feel free to add custom elements for your design!</p><figure><img alt="The image contains header named TaDa and input elements namely input, select element to specify priority of the task and a submit button to add the task. Below the elements two tasks and each of them have a delete button assigned to each of it." src="https://cdn-images-1.medium.com/max/997/1*rpDnIxfeD7QNg7GbNOPfJQ.png" /><figcaption>UI design for the app</figcaption></figure><h4>2. Create a new project:</h4><p>We will use <a href="https://github.com/VasilyShelkov/create-react-extension">create-react-extension</a> as discussed above please make sure you have node and npm installed. Use the following command to create a new react-extension project:</p><pre>npx create-react-app <strong>todo-extension</strong> --scripts-version react-browser-extension-scripts --template browser-extension</pre><p>The todo extension as highlighted above is the name for our project, feel free to change the name as you would like it.</p><h4>3. Project structure:</h4><ol><li>The public folder: this folder contains the index.html file that is the root of our application. And other files that will help us run our chrome extension.</li><li>manifest.json: This is the entry file of the chrome extension we will discuss more of this in the next segment.</li><li>src folder: src will hold the App.js file where we will make main changes for the UI and perform our logic.</li><li>background folder: here you can write the script for running in the background for the chrome extension as we discussed earlier.</li><li>contentScript folder: here you can write scripts that need to be injected into the current webpage.</li></ol><h4>4. Updating the manifest.json</h4><p>The manifest.json is the entry file for any extension. It contains important information and enabled us to add and remove features for our app.</p><p>In the manifest.json you will see a permissions array type field, here all the needed permissions can be added for the extension functionality. As we will need the storage API in our app make sure to add “storage” to the <strong>permissions</strong> array.</p><p>The mainfest.json file will look as follows:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/120ccc3de5e188111187b65b1aeba6d2/href">https://medium.com/media/120ccc3de5e188111187b65b1aeba6d2/href</a></iframe><pre>&quot;permissions&quot;: [&quot;activeTab&quot;, &quot;storage&quot;],</pre><pre>&quot;content_security_policy&quot;: &quot;script-src &#39;self&#39; &#39;unsafe-eval&#39;; object-src &#39;self&#39;&quot;</pre><h4>5. Create UI elements:</h4><p>According to our design will create 2 elements input and button.</p><p>Input element: As we can see below, the same component is handling the input for task ‘Title’ and its priority.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9bc6317ff448d487dba8c85263d91c25/href">https://medium.com/media/9bc6317ff448d487dba8c85263d91c25/href</a></iframe><p>Input styling:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0f20df2afde582cac6c8201d83630c86/href">https://medium.com/media/0f20df2afde582cac6c8201d83630c86/href</a></iframe><p>Button element:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b3418fb1d0ade7669cc3d44944e07978/href">https://medium.com/media/b3418fb1d0ade7669cc3d44944e07978/href</a></iframe><p>Button styling:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/578c98a24cf0d9ac72511f43edb838a9/href">https://medium.com/media/578c98a24cf0d9ac72511f43edb838a9/href</a></iframe><p>Now that our elements are complete we can start working on our UI design and add some logic for adding and displaying the todos.</p><h4>6. Updating our App.js</h4><p>This is the most exciting part of creating our chrome extension. Let&#39;s add some logic for the app now!</p><p>The first step to make in this file is adding a state for our app. The initial code must consist of react template. Go ahead and remove all that template code as we will be using class-based react component as follows:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f9f0f948a7b147207601fe083e3d28f8/href">https://medium.com/media/f9f0f948a7b147207601fe083e3d28f8/href</a></iframe><p>We have declared the chrome instance in the first line as you see. This is the basic syntax that is understood by chrome. This instance will be used further in our project to store and retrieve our tasks from the chrome storage API.</p><p>We have created a class-based react component and added a state where we can store title and priority for our next task to add to our tasks.</p><p>The tasks array will be used for representational purpose and displaying our tasks.</p><h4>7. Store and retrieve tasks from the storage</h4><p>Now we will add our function to get and store the tasks in chrome.storage API. Here we will use two methods namely set and get, these will help save and retrieve the tasks from the chrome.storage.</p><p>There are two ways to use the storage service in chrome API — <strong>local</strong> and <strong>sync.</strong></p><ol><li>chrome.storage.local — storage.local will save the data on the local machine and won’t be synced across your logged-in devices.</li><li>chrome.storage.sync — storage.sync will sync the data across devices all the Chrome browsers given the user has sync enabled.</li></ol><blockquote>Note: The chrome.storage is not a huge service that can save loads of data, also it is not encrypted hence you must not store valuable information there.</blockquote><ol><li><strong>Set tasks</strong>: here you can see the <strong>chrome.storage.sync.set </strong>function, the set function is used to set values and save them into storage.</li></ol><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6918d63b86e9400bc78c218d5be3e473/href">https://medium.com/media/6918d63b86e9400bc78c218d5be3e473/href</a></iframe><p>2. <strong>Get tasks and set state</strong>: here we use the <strong>chrome.storage.sync.get </strong>function to get all the tasks from the storage. We use the callback function to access the <strong>tasks </strong>and then set our stage.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/888d1d697115f0f9e39a5bd98c49a201/href">https://medium.com/media/888d1d697115f0f9e39a5bd98c49a201/href</a></iframe><p>We will also use the componentDidMount lifecycle method, in there we will call the getTasks function, this will pull our tasks from the storage and set the state as soon as the extension is opened.</p><h4>8. Delete task function</h4><p>We need a function that will be bound to the delete task button as we can see in the UI design above. Here I have used the splice method of the array to remove the item from the tasks array and then save the array.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6396c9f5acbb920b26665b52b106d909/href">https://medium.com/media/6396c9f5acbb920b26665b52b106d909/href</a></iframe><h4>9. Add task function</h4><p>The add task function will be used to add a task to the tasks array, it will take in 2 params from the state and create a new task. The task will be added to the existing tasks array in our current state and after added to the state we will update our storage to set the tasks.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/973f72ff43290f39137287df5381cfe1/href">https://medium.com/media/973f72ff43290f39137287df5381cfe1/href</a></iframe><p>The <strong>inputChangeHandler</strong> function will help us to handle change in the input fields in the UI.</p><h4>10. Completing the UI</h4><p>The UI will be completed by the following code and styled by App.css; feel free to make changes to your design!</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8000c687d8b16c4cdf73fe761f509045/href">https://medium.com/media/8000c687d8b16c4cdf73fe761f509045/href</a></iframe><p>App styling —</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/75c64114cb2f46c47213253f442497e2/href">https://medium.com/media/75c64114cb2f46c47213253f442497e2/href</a></iframe><blockquote>Thats it! The extension is ready to be tested.</blockquote><h4>Let&#39;s run the app:</h4><ol><li>Open a terminal in the project directory and use the following command</li></ol><pre>npm start</pre><p>This will create a folder named dev in the project directory.</p><p>2. Now open the Chrome Browser and open your extensions page by opening the following link: <strong>chrome://extensions/</strong></p><p>3. Once opened click on the <strong>Load Unpacked</strong> button and select the dev folder in the project directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*3qT_Ha-fMw6FYFwjKkZZRw.png" /></figure><p><strong>Make sure your extension is enabled, or enable it by clicking the pin icon in the extensions list.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/1*mD76maiyMNkz7hVQV0XO4A.png" /><figcaption>Final product</figcaption></figure><blockquote>This doesn’t stop here! Go ahead and create your version of the todo app or create something you’ve been trying to make.</blockquote><h3>Conclusion:</h3><p>The Chrome extension is a great way to make apps that gives us a new way to connect to the user. The chrome extensions are getting newer users every day and the support for the same is increasing too. You can use the <a href="https://developer.chrome.com/docs/extensions/">Chrome extensions documentation</a> and get introduced to exciting API’s that will help you build complex and highly functional Chrome extensions.</p><p><strong>Let me know how you liked today&#39;s blog in the comments!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c117e54c7eb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build fast and production ready apps with React and AWS Amplify]]></title>
            <link>https://javascript.plainenglish.io/build-fast-and-production-ready-apps-with-react-and-aws-amplify-48a97b5e3bed?source=rss-55b5daddb0f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/48a97b5e3bed</guid>
            <category><![CDATA[amplify]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[aws-cloud]]></category>
            <dc:creator><![CDATA[Yash Garudkar]]></dc:creator>
            <pubDate>Sat, 20 Mar 2021 12:57:41 GMT</pubDate>
            <atom:updated>2021-03-21T14:51:02.518Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uq_VDTsSINuOaAXGB8b09Q.png" /><figcaption>AWS Amplify</figcaption></figure><p>A little while ago I did a <a href="https://www.linkedin.com/posts/yashgarudkar_developerstudentclubs-reactjs-activity-6764391339435077632-CU3i">session</a> for my friends at college for Student Developer Clubs (you can watch the session <a href="https://www.youtube.com/watch?v=17RqzuFhogg">here</a>). The topic we sunk in was React for Beginners. Towards the end of the session I built a Todo app with React and use React’s state to manage the todos.</p><p>I thought what if I could use the same front-end code for my an Amplify app!? So I started reading the documentation for Amplify and asked an experienced friend with Amplify to share some light on the topic.</p><p>So… Lets get this started and build the app. I suggest you guys to code as you read this piece of article.</p><h3>What is amplify?</h3><p>Amplify is an open-source framework that Amplify CLI, Libraries and UI Components to build fullstackk iOS, Android, Flutter, Web and React apps. It provides api, auth, functions, etc. That cater the needs of any application.</p><p>Amplify Console is an AWS service that provides a git-based workflow for continuous deployment &amp; hosting of fullstack web apps.</p><h4>What we will build</h4><p>We will build a full stack app where you add tasks and delete them. We will use GraphQL to build our app. Finally we will use Auth from AWS Amplify to give a login functionality to our app with only two lines of code.</p><h4>Prerequisites</h4><p>Make sure you have node and npm installed on your machine, git, and your favorite IDE to write the code. I will use Visual Studio Code. And also an AWS account you can create or login <a href="https://aws.amazon.com/">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*uTEuOX9DkyvFCy7FhNTqQg.gif" /></figure><h3><strong>Step 1. Installing and configuring the Amplify CLI</strong></h3><pre>npm install -g @aws-amplify/cli</pre><p>This will install the Amplify CLI globally.</p><p>Now login using:</p><pre>amplify configure</pre><p>It will ask you to sign into the AWS console. Once signed in Amplify will ask you to create an IAM user. IAM enables you to create profiles that can manage users and user permissions in AWS.</p><pre>Specify the AWS Region <br>? region:  # Your preferred region<br>Specify the username of the new IAM user: <br>? user name:  # User name for Amplify IAM user <br>Complete the user creation using the AWS console</pre><p>Create a new user with <strong><em>AdministratorAccess </em></strong>it will allow you to use AWS resources. This is to be added in the set user permissions stage of user creation.</p><p>After the user is created, amplify CLI will ask you to provide the accessKeyId and the secretAccessKey to connect Amplify CLI with your new IAM user as follows:</p><pre>Enter the access key of the newly created user:<br>? accessKeyId:  # YOUR_ACCESS_KEY<br>? secretAccessKey:  # YOUR_SECRET_ACCESS_KEY<br>This would update/create the AWS Profile in your local machine<br>? Profile Name:  # [default]</pre><pre>Successfully set up the new user.</pre><h3>Step 2. Creating our React app</h3><p>In this step we will create out React app. Remember we have not added any Amplify config to our app yet. In the last step we configured the user on local machine.</p><p>Lets create a React app using create-react-app</p><pre>npx create-react-app amplify-todo-app<br>cd amplify-todo-app</pre><p>Now that we have a React frontend app, we can start building our backend with Amplify. Make sure you ‘cd’ into the React app root using above command.</p><p>Lets initialize the amplify in the project root directory</p><pre>amplify init</pre><p>Now let us tell amplify about the app we are about to build!</p><pre>Enter a name for the project (react-amplified)  <br>Choose your default editor  (vs code)<br>Choose the type of app that you&#39;re building (javascript)  <br>What JavaScript framework are you using (react) <br>Source directory path (src)  <br>Distribution directory path (build)  <br>Build command (npm run build) <br>Start command (npm start)  <br>Do you want to use an AWS profile</pre><p>In the last step select the IAM user you created earlier.</p><p>Now we have added configuration to the app for using AWS Amplify. Once new Amplify project is initialized this is what happens:</p><ol><li>A directory named <strong>amplify </strong>that contains the backend definition for our app. This is where we will add GraphQL API and Authentication. As we add features the amplify folder will get updated with code templates that will help us integrate the frontend with backend API.</li><li>A file named <strong>aws-exports.js</strong> is created in the <strong>src </strong>directory, this file holds all the configuration for the services that we create with Amplify. This is how our client React app will be getting the necessary information about the backend on AWS Amplify.</li><li>The .gitignore will also be updated as new features are added that needn’t be in the repository.</li><li>A cloud project is created in AWS Amplify Console for this project.</li></ol><h3>Step 3. Adding code to our React app</h3><p>Install Amplify libraries in React app:</p><pre>npm install aws-amplify @aws-amplify/ui-react</pre><p>aws-amplify is the main library used to interact with the backend. @aws-amplify/ui-react is a library that provides pre-built UI components for React.</p><h4>Open src/index.js and add the following import to the top of the file.</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/482d2d943c32b0e99204fea45925f766/href">https://medium.com/media/482d2d943c32b0e99204fea45925f766/href</a></iframe><p>Voila! Thats all the configuration that was needed to build the frontend right now. The <strong>aws-exports.js</strong> will update automatically.</p><p>Now that the config part is done. Let’s add a backend GraphQL and database. The best part is all we need to do is add api from the CLI and amplify will automatically add a DynamoDB database to the backend.</p><pre>amplify add api</pre><p>Accept default values as prompted in the command line —</p><pre>? Please select from one of the below mentioned services: # GraphQL </pre><pre>? Provide API name: # todo-api</pre><pre>? Choose the default authorization type for the API: # API Key</pre><pre>? Enter a description for the API key: # lorem</pre><pre>? After how many days from now the API key should expire: # 365(or any number of days you want)</pre><pre>? Do you want to configure advanced settings for the GraphQL API:<br># No </pre><pre>? Do you have an annotated GraphQL schema? # No </pre><pre>? Choose a schema template: # Single object with fields (e.g., “Todo” with ID, name, description) </pre><pre>? Do you want to edit the schema now? # Yes</pre><p>After selecting yes in the last prompt — <strong>amplify/backend/api/myapi/schema.graphql </strong>should be opened in VS code or the IDE you chose earlier.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a0f3ae1c4a27437c89170ad94f354250/href">https://medium.com/media/a0f3ae1c4a27437c89170ad94f354250/href</a></iframe><p>Now lets take a look at the above GraphQL schema.</p><p>There is a directive <strong>Todo </strong>(type), it is a part of the GraphQL. A type is decorated with the <strong>@model</strong> directive will scaffold the database table for the type. The schema for CRUD and list of operations and the GraphQL resolvers needed to make everything work.</p><p>There are three fields id, name, description. All of them are required in the model, name will be used as a name for todo-task name and description is where we will add the data related to the task.</p><p>The schema that is given is perfectly fine for now as we are building the Todo app. So let’s continue towards deploying the API.</p><pre>amplify push</pre><pre>? Are you sure you want to continue? Y  <br>? Do you want to generate code for your newly created GraphQL API? Y ? Choose the code generation language target: javascript <br>? Enter the file name pattern of graphql queries, mutations and subscriptions: src/graphql/**/*.js<br>? Do you want to generate/update all possible GraphQL operations - queries, mutations and subscriptions? Y <br>? Enter maximum statement depth [increase from default if your schema is deeply nested]: 2</pre><p>The API should now be live and we can interact with it.</p><p>Now open the file in our root React folder <strong>src/App.js —</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0e9d8a98f4a3ae5b839bdc9789b7bd85/href">https://medium.com/media/0e9d8a98f4a3ae5b839bdc9789b7bd85/href</a></iframe><h4>Code walkthrough —</h4><ol><li><strong>fetchTodos</strong>: this is an async function that will call the api and setState for todos that are there in the database.</li><li><strong>useEffect(): </strong>a React hook, we have used it on componentMount and called <strong>fetchTodos()</strong> so the list is saved in the state as soon as the component is mounted.</li><li><strong>handleChange: </strong>this is a change function used to for setting the current form state, it will be updated every time the user makes any changes in the app.</li><li><strong>handleSubmit: </strong>it will be called on submitting the form, the try block will be executed to add the task to the database using GraphQL. In case the <strong>try</strong> block fails <strong>catch</strong> block will console the error. After the task is added the <strong>fetchTodos </strong>function is called and the list array is updated in the todos state.</li><li><strong>handleDelete: </strong>for deleting a certain todo from the backend database this function will take the id of the todo and delete the same.</li><li><strong>return (in App function): </strong>it will return the jsx needed to view our app in the browser.</li></ol><h4>The app is now ready! Let’s add some basic styling using CSS in the ./App.css</h4><p>Make sure to remove all the boilerplate css in the App.css file then add the following code to the file:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/132532ee1db099eb9a557415f42f0533/href">https://medium.com/media/132532ee1db099eb9a557415f42f0533/href</a></iframe><h3>Step 4. Running and testing our app</h3><p>Its showtime! Now run the following command in root React app directory to run app in the browser:</p><pre>npm start</pre><p>This will start the local server and the app will be started on the default browser.</p><p>This is what you should be able to see in the browser —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*osTFBFLDXMHzhwBv0DPUrQ.png" /><figcaption>Todo app initial state</figcaption></figure><p>Now add a task with some description and see if it is added below the form.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eX1_s9zCRH1Pld89GDVR9w.png" /><figcaption>Added task!</figcaption></figure><p>Finally try to delete that task by clicking the delete button. It should work fine.</p><h3>Step 5. Add auth to the app</h3><p>In the root folder we will run following command using CLI to add auth to the backend service:</p><pre>amplify add auth</pre><pre>? Do you want to use the default authentication and security configuration? Default configuration<br>? How do you want users to be able to sign in? Username<br>? Do you want to configure advanced settings?  No, I am done.</pre><pre>## now deploy the service run the push command<br>amplify push</pre><p>Update the React app with login UI component:</p><p>This is one of the best and fastest ways to add auth to an application.</p><p>It takes only 2 lines to add auth to our application. Just import withAuthenticator from <a href="https://gist.github.com/yashgkar/29392c3c606a42f732eac5d447c253ad"><strong>‘@aws-amplify/ui-react’</strong></a> and wrap the main component with it.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9541469a09949eb66c9138cbd28f9a5b/href">https://medium.com/media/9541469a09949eb66c9138cbd28f9a5b/href</a></iframe><p>Run the app to see the new Auth flow protecting the app:</p><pre>npm start</pre><p>Now we should see the login form and create a new account. Auth has over 30 methods to control all aspects of user Auth flow.</p><p>This is what we will see in browser on local React server now:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ukw07hcBzcSU-VuWPAb5vg.png" /><figcaption>Auth component</figcaption></figure><p>Now create an account and enter OTP. This will log you into the app:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EW_XR_xzSBQIw26Zm975AQ.png" /><figcaption>UI after login</figcaption></figure><h3>Step 6. Hosting <strong>the app</strong></h3><p>This section will help you to deploy the app to the server and share it with others!</p><p>From root run the following command and select the options as given below:</p><pre>amplify add hosting</pre><pre>? Select the plugin module to execute: # Hosting with Amplify Console<br>? Choose a type: # Manual Deployment</pre><pre>amplify publish</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/1*avlxzlEFPYduP6OC1i-2ow.gif" /><figcaption>Thats it!</figcaption></figure><h3>That was it!</h3><p>After hitting publish the build to React will be pushed to the amplify cloud, and the link to the app will be logged in command line.</p><h3>Conclusion</h3><p>Amplify is a great libary and working with AWS it becomes a powerful tool to build full-stack application with various frameworks as we did in React. <br>Features like auth, functions, hosting, etc. lets us focus on the product we want to build and not write them from the ground up. Writing least code we build faster and more efficient applications.</p><p>I hope this article was helpful for you to decide which technology to go for in your next project.</p><p>If you have suggestions please let me know in the comments section🙋‍♂️</p><p>Thank You!🖤</p><p><strong>GitHub</strong> <strong>repo for this article: </strong><a href="https://github.com/yashgkar/amplify-react-todo">https://github.com/yashgkar/amplify-react-todo</a></p><h4>Like My Work? How about <a href="http://buymeacoff.ee/yashgarudkar">buy me a coffee</a>?😉</h4><h3>Connect with me</h3><p>GitHub: <a href="https://github.com/yashgkar">https://github.com/yashgkar</a><br>LinkedIn: <a href="https://www.linkedin.com/in/yashgarudkar/">https://www.linkedin.com/in/yashgarudkar/</a><br>Twitter: <a href="https://twitter.com/codeitachi">https://twitter.com/codeitachi</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48a97b5e3bed" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/build-fast-and-production-ready-apps-with-react-and-aws-amplify-48a97b5e3bed">Build fast and production ready apps with React and AWS Amplify</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GraphQL-Express-App CLI — A New Way to Learn and Build GraphQL APIs]]></title>
            <link>https://levelup.gitconnected.com/graphql-express-app-cli-a-new-way-to-learn-and-build-graphql-apis-1d1d03878b2b?source=rss-55b5daddb0f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d1d03878b2b</guid>
            <category><![CDATA[expressjs]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[servers]]></category>
            <dc:creator><![CDATA[Yash Garudkar]]></dc:creator>
            <pubDate>Tue, 11 Aug 2020 18:12:39 GMT</pubDate>
            <atom:updated>2021-07-15T01:54:30.831Z</atom:updated>
            <content:encoded><![CDATA[<h3>GraphQL-Express-App CLI — A New Way to Learn and Build GraphQL APIs</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HaxG7N5uIonCiSMl" /><figcaption>Photo by <a href="https://unsplash.com/@hudsoncrafted?utm_source=medium&amp;utm_medium=referral">Debby Hudson</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>Hey guys, if you are new to OSS(open source software) development and want to get started with open source contributions, then here is the organization for you where you can initiate your projects and contribute to previously started projects too!</blockquote><blockquote>Ping me on Twitter if you would like to start a Project in QuBytes-OSS!</blockquote><blockquote>Organization Link: <a href="https://github.com/QuBytes-OSS">https://github.com/QuBytes-OSS</a></blockquote><p>I have been using GraphQL to learn and build some personal projects. And in the process, I needed some boilerplate to a new project.</p><p>It inspired me to start working on something that would fasten the process of starting a new project. Something that enables anyone to build a GraphQL-Express server with a MongoDB database with ease.</p><p>So, I built the <em>graphql-express-app</em> CLI tool that can be used by anyone to start their new GraphQL-Express project with a MongoDB database.</p><h3>Features:</h3><ol><li>Command Line Interface for faster project generation.</li><li>Initialize Git from the CLI.</li><li>Install dependencies from CLI.</li><li>TypeScript Support (Coming Soon!)</li></ol><blockquote>What is graphql-express-app CLI?</blockquote><p>It is a CLI (command line interface) to start a GraphQL-Express server with some pre-designed MongoDB model for handling database and a Schema to access the Database and carry out GraphQL queries and mutations.</p><blockquote>What to expect from the CLI?</blockquote><p>The CLI will lead you to create a simple GraphQL-Express app that you can further build according to your project needs.</p><blockquote>What are the dependencies in the generated project?</blockquote><p>This CLI is built to initialize a GraphQL-Express server. It uses the following dependencies for starting a new project.</p><ul><li><a href="https://github.com/graphql/graphql-js">graphql</a>: To build a GraphQL schema and design GraphQL types and use them for creating queries and mutations.</li><li><a href="https://github.com/expressjs/express">express</a>: It is an npm module used to build routes in back-end applications and create middleware functions.</li><li><a href="https://github.com/graphql/express-graphql">express-graphql</a>: it helps us create a GraphQL HTTP server in the Express routes as a middleware function.</li><li><a href="https://github.com/chadlieberman/graphql-type-long">graphql-type-long</a>: GraphQL doesn’t have a predefined long-integer type. This npm module helps bridge that gap.</li><li><a href="https://github.com/motdotla/dotenv">dotenv</a>: used to store MongoDB URI.</li><li><a href="https://github.com/Automattic/mongoosehttps://github.com/Automattic/mongoose">mongoose</a>: used to connect to the MongoDB database and carry out CRUD functions.</li></ul><blockquote>How to use the graphql-express-app CLI?</blockquote><blockquote>Make sure to have the latest Node.js version installed and MongoDB for database.</blockquote><h4>1. Use the following command to install the graphql-express-app CLI globally on your machine:</h4><pre>$ npm i -g graphql-express-app</pre><h4>2. Create a folder according to your desired name and open the same:</h4><pre>$ mkdir folder_name &amp;&amp; cd folder_name</pre><h4>3. Run the following command in the shell:</h4><pre>[yolo@localhost folder_name]$ graphql-express-app</pre><h4>4. Follow the questions and answer the options.</h4><h4>5. Make sure to have a MongoDB installed on your machine or have an online MongoDB instance and change <em>.env </em>variable in the project accordingly.</h4><p>Voila! You have successfully created a GraphQL-Express App!</p><blockquote>TypeScript Support</blockquote><p>I am currently working on <a href="https://www.typescriptlang.org/">TypeScript</a> support for the CLI. Soon enough we will release the version with TypeScript support.</p><p>Hope you like this project and make use of it in your future projects ❤</p><p>Happy coding!</p><h3>Repository for the project:</h3><p><a href="https://github.com/QuBytes-OSS/graphql-express-app">QuBytes-OSS/graphql-express-app</a></p><h4>Give it a star if you will use this tool for your projects😊</h4><h3>Connect with me</h3><p>GitHub: <a href="https://github.com/yashgkar">https://github.com/yashgkar</a></p><p>LinkedIn: <a href="https://www.linkedin.com/in/yashgarudkar/">https://www.linkedin.com/in/yashgarudkar/</a></p><p>Twitter: <a href="https://twitter.com/codeitachi">https://twitter.com/codeitachi</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d1d03878b2b" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/graphql-express-app-cli-a-new-way-to-learn-and-build-graphql-apis-1d1d03878b2b">GraphQL-Express-App CLI — A New Way to Learn and Build GraphQL APIs</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>