<?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: ROSHAN MALLICK</title>
    <description>The latest articles on DEV Community by ROSHAN MALLICK (@eth0x1).</description>
    <link>https://dev.to/eth0x1</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3935028%2Fa0346576-7072-4462-8e8e-99279d7a6a95.jpg</url>
      <title>DEV Community: ROSHAN MALLICK</title>
      <link>https://dev.to/eth0x1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/eth0x1"/>
    <language>en</language>
    <item>
      <title># Building RentDB — A Small CLI-Based Rent Management System in C</title>
      <dc:creator>ROSHAN MALLICK</dc:creator>
      <pubDate>Sat, 16 May 2026 15:02:11 +0000</pubDate>
      <link>https://dev.to/eth0x1/-building-rentdb-a-small-cli-based-rent-management-system-in-c-3kni</link>
      <guid>https://dev.to/eth0x1/-building-rentdb-a-small-cli-based-rent-management-system-in-c-3kni</guid>
      <description>&lt;h1&gt;
  
  
  Building RentDB — A Small CLI-Based Rent Management System in C
&lt;/h1&gt;

&lt;p&gt;Recently, I started building small projects in C to better understand systems programming, file handling, and how command-line applications work.&lt;/p&gt;

&lt;p&gt;One of those projects became &lt;strong&gt;RentDB&lt;/strong&gt;, a simple CLI-based Rent Management System written in C.&lt;/p&gt;

&lt;p&gt;The idea came from a real problem I was facing.&lt;/p&gt;

&lt;p&gt;Every month I had to manually manage rent payment entries in spreadsheets. Entering records repeatedly, organizing payment details, and maintaining everything manually started becoming messy and time-consuming.&lt;/p&gt;

&lt;p&gt;So instead of repeating the same process again and again, I decided to build a small terminal-based tool that could simplify the workflow.&lt;/p&gt;




&lt;h2&gt;
  
  
  What RentDB Does
&lt;/h2&gt;

&lt;p&gt;RentDB is a lightweight command-line application that allows me to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;store rent records&lt;/li&gt;
&lt;li&gt;manage tenant information&lt;/li&gt;
&lt;li&gt;export records into CSV format&lt;/li&gt;
&lt;li&gt;organize payment history&lt;/li&gt;
&lt;li&gt;automatically sync exported files to Google Drive using &lt;code&gt;rclone&lt;/code&gt; on Linux&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal of the project was not to build something complex, but to create a practical tool that solves a real problem.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why I Built It in C
&lt;/h2&gt;

&lt;p&gt;I wanted to improve my understanding of:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;file handling&lt;/li&gt;
&lt;li&gt;modular programming&lt;/li&gt;
&lt;li&gt;CLI application structure&lt;/li&gt;
&lt;li&gt;Linux workflows&lt;/li&gt;
&lt;li&gt;project organization&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Working with C forces you to think carefully about program structure and data handling.&lt;/p&gt;

&lt;p&gt;While building this project, I spent a lot of time debugging file operations, fixing export issues, and handling edge cases.&lt;/p&gt;

&lt;p&gt;That process taught me much more than simply following tutorials.&lt;/p&gt;




&lt;h2&gt;
  
  
  Reusing Logic From Older Projects
&lt;/h2&gt;

&lt;p&gt;One interesting part of this project was that I reused and improved logic from my previous C Student Database System project.&lt;/p&gt;

&lt;p&gt;That earlier project helped me understand:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;CRUD operations&lt;/li&gt;
&lt;li&gt;modular code organization&lt;/li&gt;
&lt;li&gt;file management&lt;/li&gt;
&lt;li&gt;project structure&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;While working on RentDB, I started realizing how important code reuse and improvement are in software development.&lt;/p&gt;

&lt;p&gt;Instead of starting every project from zero, I tried improving older ideas and applying what I had already learned.&lt;/p&gt;




&lt;h2&gt;
  
  
  Adding Google Drive Auto-Sync
&lt;/h2&gt;

&lt;p&gt;One feature I enjoyed building was automatic Google Drive synchronization using &lt;code&gt;rclone&lt;/code&gt; on Linux.&lt;/p&gt;

&lt;p&gt;Whenever the CSV export is generated, the file can automatically sync to cloud storage.&lt;/p&gt;

&lt;p&gt;While implementing this feature, I learned more about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Linux filesystem permissions&lt;/li&gt;
&lt;li&gt;path handling&lt;/li&gt;
&lt;li&gt;automation workflows&lt;/li&gt;
&lt;li&gt;integrating external tools&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It also made the project feel more practical.&lt;/p&gt;




&lt;h2&gt;
  
  
  Problems I Faced
&lt;/h2&gt;

&lt;p&gt;While building RentDB, I faced several issues:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;file handling bugs&lt;/li&gt;
&lt;li&gt;export path problems&lt;/li&gt;
&lt;li&gt;Linux permission issues&lt;/li&gt;
&lt;li&gt;CSV formatting problems&lt;/li&gt;
&lt;li&gt;unexpected runtime errors&lt;/li&gt;
&lt;li&gt;debugging cloud sync commands&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Some small mistakes took hours to debug.&lt;/p&gt;

&lt;p&gt;But solving those problems step-by-step helped me understand how important debugging and problem-solving are in programming.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;p&gt;This project helped me improve my understanding of:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;modular C programming&lt;/li&gt;
&lt;li&gt;Makefiles&lt;/li&gt;
&lt;li&gt;CLI application design&lt;/li&gt;
&lt;li&gt;Linux tools and workflows&lt;/li&gt;
&lt;li&gt;debugging techniques&lt;/li&gt;
&lt;li&gt;structured problem solving&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;More importantly, it showed me that programming becomes much more interesting when you build things that solve real problems around you.&lt;/p&gt;




&lt;h2&gt;
  
  
  Future Improvements
&lt;/h2&gt;

&lt;p&gt;Some things I want to improve in future versions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;better error handling&lt;/li&gt;
&lt;li&gt;improved CSV formatting&lt;/li&gt;
&lt;li&gt;search and filtering support&lt;/li&gt;
&lt;li&gt;SQLite integration&lt;/li&gt;
&lt;li&gt;better terminal UI&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;I am still learning and still exploring systems programming.&lt;/p&gt;

&lt;p&gt;Projects like RentDB are helping me understand how software works beyond just writing code.&lt;/p&gt;

&lt;p&gt;Building small real-world tools has been one of the best learning experiences for me so far.&lt;/p&gt;




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

&lt;p&gt;[&lt;a href="https://github.com/Roshan-Mallick/RentDB" rel="noopener noreferrer"&gt;https://github.com/Roshan-Mallick/RentDB&lt;/a&gt;]&lt;/p&gt;

&lt;p&gt;I would appreciate any feedback or suggestions for improvement.&lt;/p&gt;

&lt;p&gt;Thank you for reading.&lt;/p&gt;

&lt;h1&gt;
  
  
  cprogramming #linux #opensource #cli #systemsprogramming #github
&lt;/h1&gt;

</description>
      <category>cli</category>
      <category>programming</category>
      <category>showdev</category>
      <category>sideprojects</category>
    </item>
  </channel>
</rss>
