<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Database on Rafiul Alam</title>
    <link>https://alamrafiul.com/tags/database/</link>
    <description>Recent content in Database on Rafiul Alam</description>
    <image>
      <title>Rafiul Alam</title>
      <url>https://alamrafiul.com/papermod-cover.png</url>
      <link>https://alamrafiul.com/papermod-cover.png</link>
    </image>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Thu, 05 Jun 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://alamrafiul.com/tags/database/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to Create a CRUD Server with Rust</title>
      <link>https://alamrafiul.com/tutorials/rust-crud-server/</link>
      <pubDate>Thu, 05 Jun 2025 00:00:00 +0000</pubDate>
      
      <guid>https://alamrafiul.com/tutorials/rust-crud-server/</guid>
      <description>&lt;p&gt;Building a CRUD (Create, Read, Update, Delete) server in Rust is an excellent way to learn both Rust&amp;rsquo;s powerful type system and modern web development patterns. In this tutorial, we&amp;rsquo;ll create a robust REST API using Axum, one of Rust&amp;rsquo;s most popular web frameworks.&lt;/p&gt;
&lt;h2 id=&#34;what-well-build&#34;&gt;What We&amp;rsquo;ll Build&lt;/h2&gt;
&lt;p&gt;We&amp;rsquo;ll create a simple task management API with the following endpoints:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;GET /tasks&lt;/code&gt; - List all tasks&lt;/li&gt;
&lt;li&gt;&lt;code&gt;POST /tasks&lt;/code&gt; - Create a new task&lt;/li&gt;
&lt;li&gt;&lt;code&gt;GET /tasks/{id}&lt;/code&gt; - Get a specific task&lt;/li&gt;
&lt;li&gt;&lt;code&gt;PUT /tasks/{id}&lt;/code&gt; - Update a task&lt;/li&gt;
&lt;li&gt;&lt;code&gt;DELETE /tasks/{id}&lt;/code&gt; - Delete a task&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Rust installed (rustup.rs)&lt;/li&gt;
&lt;li&gt;Basic understanding of Rust syntax&lt;/li&gt;
&lt;li&gt;Familiarity with REST APIs&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;setting-up-the-project&#34;&gt;Setting Up the Project&lt;/h2&gt;
&lt;p&gt;First, create a new Rust project:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Building Payment Gateway Integrations in Go: A Complete Guide</title>
      <link>https://alamrafiul.com/posts/payment-gateway-integration/</link>
      <pubDate>Mon, 17 Feb 2025 00:00:00 +0000</pubDate>
      
      <guid>https://alamrafiul.com/posts/payment-gateway-integration/</guid>
      <description>Learn how to design and implement robust payment gateway integrations with multiple providers, handling transactions, retries, atomicity, scheduling, and data persistence in both SQL and NoSQL databases.</description>
    </item>
    
    <item>
      <title>The Reliable Data Layer in Go: Mastering Ent &amp; Bun</title>
      <link>https://alamrafiul.com/posts/go-ent-bun-data-layer/</link>
      <pubDate>Sun, 12 Jan 2025 00:00:00 +0000</pubDate>
      
      <guid>https://alamrafiul.com/posts/go-ent-bun-data-layer/</guid>
      <description>Build robust, type-safe data layers in Go using Ent and Bun. Compare both ORMs, learn when to use each, and see practical examples of schemas, queries, transactions, and migrations.</description>
    </item>
    
  </channel>
</rss>
