<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Gusti Permana Putra</title>
    <description>The latest articles on DEV Community by Gusti Permana Putra (@gustipermanap).</description>
    <link>https://dev.to/gustipermanap</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3526224%2Fd732671d-679c-4088-897a-f63d41b2c109.jpeg</url>
      <title>DEV Community: Gusti Permana Putra</title>
      <link>https://dev.to/gustipermanap</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gustipermanap"/>
    <language>en</language>
    <item>
      <title>Building a Flood Monitoring Dashboard with Django &amp; React</title>
      <dc:creator>Gusti Permana Putra</dc:creator>
      <pubDate>Wed, 24 Sep 2025 09:40:51 +0000</pubDate>
      <link>https://dev.to/gustipermanap/building-a-flood-monitoring-dashboard-with-django-react-2m4i</link>
      <guid>https://dev.to/gustipermanap/building-a-flood-monitoring-dashboard-with-django-react-2m4i</guid>
      <description>&lt;h1&gt;
  
  
  Building a Flood Monitoring Dashboard with Django &amp;amp; React
&lt;/h1&gt;

&lt;h2&gt;
  
  
  The Problem: Banjir di Tangerang Selatan
&lt;/h2&gt;

&lt;p&gt;Sebagai developer yang tinggal di Tangerang Selatan, saya sering melihat bagaimana banjir mempengaruhi kehidupan sehari-hari. Sistem monitoring yang ada seringkali terbatas aksesnya bagi masyarakat umum.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tech Stack Choice
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Backend:&lt;/strong&gt; Django REST Framework (handles data processing &amp;amp; API)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; React + Chart.js (real-time visualization)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database:&lt;/strong&gt; PostgreSQL (for scalability)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Future Plan:&lt;/strong&gt; IoT water sensors for real data collection&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Day 1 Progress: Basic Setup
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Backend (Django)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# models.py
class FloodData(models.Model):
    location = models.CharField(max_length=100)
    water_level = models.FloatField()  # in cm
    timestamp = models.DateTimeField(auto_now_add=True)
    status = models.CharField(max_length=20)  # normal, waspada, bahaya

    def __str__(self):
        return f"{self.location} - {self.water_level}cm"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Frontend (React)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Setup basic React app dengan Create React App&lt;/li&gt;
&lt;li&gt;Komponen sederhana untuk menampilkan data level air&lt;/li&gt;
&lt;li&gt;Fetch data dari Django API endpoint&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Current Challenge&lt;/strong&gt;&lt;br&gt;
Membuat interface yang mudah dipahami masyarakat umum. Tidak semua orang paham istilah teknis seperti "water level cm" - perlu visualisasi yang intuitif.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What's Next&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Add map integration (Google Maps/OpenStreetMap)&lt;/li&gt;
&lt;li&gt;Create mock data untuk demo purposes&lt;/li&gt;
&lt;li&gt;Build alert system ketika level air mencapai threshold tertentu&lt;/li&gt;
&lt;li&gt;Mobile-responsive design&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;GitHub Repository&lt;/strong&gt;&lt;br&gt;
[Repository akan di-update soon!] - Masih dalam development awal&lt;/p&gt;

&lt;p&gt;Let's connect! Follow my journey:&lt;/p&gt;

&lt;p&gt;GitHub: github.com/gustipermanap&lt;/p&gt;

&lt;h2&gt;
  
  
  GitHub Repository
&lt;/h2&gt;

&lt;p&gt;🚀 &lt;strong&gt;Repository is now live!&lt;/strong&gt; Follow the progress and contribute:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/gustipermanap/flood-monitoring-dashboard" rel="noopener noreferrer"&gt;https://github.com/gustipermanap/flood-monitoring-dashboard&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Current structure:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ Basic Django models and API setup&lt;/li&gt;
&lt;li&gt;✅ React frontend initialization
&lt;/li&gt;
&lt;li&gt;🚧 Map integration (in progress)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What's Coming Next
&lt;/h2&gt;

&lt;p&gt;In Part 2, I'll cover:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Setting up the complete project structure&lt;/li&gt;
&lt;li&gt;Django REST Framework serializers and views&lt;/li&gt;
&lt;li&gt;Connecting React frontend to Django API&lt;/li&gt;
&lt;li&gt;Dealing with CORS configuration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Stay tuned!&lt;/strong&gt; ⚡&lt;/p&gt;

&lt;h1&gt;
  
  
  IndonesianDeveloper #Django #WebDev #IOT #REACT
&lt;/h1&gt;

</description>
      <category>django</category>
      <category>react</category>
      <category>iot</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
