<?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: Hitarth Gandhi</title>
    <description>The latest articles on DEV Community by Hitarth Gandhi (@hitarth_gandhi_738e151b4e).</description>
    <link>https://dev.to/hitarth_gandhi_738e151b4e</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%2F1531195%2Fbbd09eab-7bd2-40bd-8412-5e15a25a287a.png</url>
      <title>DEV Community: Hitarth Gandhi</title>
      <link>https://dev.to/hitarth_gandhi_738e151b4e</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hitarth_gandhi_738e151b4e"/>
    <language>en</language>
    <item>
      <title>Why you should be using Supabase.</title>
      <dc:creator>Hitarth Gandhi</dc:creator>
      <pubDate>Sun, 26 May 2024 21:16:43 +0000</pubDate>
      <link>https://dev.to/hitarth_gandhi_738e151b4e/why-you-should-be-using-supabase-2l4l</link>
      <guid>https://dev.to/hitarth_gandhi_738e151b4e/why-you-should-be-using-supabase-2l4l</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;This article will provide a brief overview of what is Supabase and its powerful features. Supabase is a Free Open Source Software(FOSS) providing a complete backend for mobile and web applications. The biggest challenge when building an app is not the coding, but picking the right tech stack such that the application can function at a huge scale. That's where Supabase comes in providing Database services as an alternative to Firebase. But wait, maybe we're getting ahead of ourselves so first let's understand what we mean by a database.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's a database
&lt;/h2&gt;

&lt;p&gt;A database is generally defined as the collection of structured information, or data, stored electronically in a computer system. Nowadays when there are thousands and millions of users running a single application, the need to store data efficiently arises. Here comes the various databases such as Firebase, and Oracle Database which provide methods to store data for modern applications with huge userbases. Supabse being one of them, offers a substitute for Firebase, providing various features such as Database webhooks and authentication services while being cross-platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  Let's discuss the infrastructure of Supabase
&lt;/h2&gt;

&lt;p&gt;Supabase uses Postgres to store data, this is a deliberate decision from the Supabase team. While Postgres does seem like a difficult database as compared to NoSql, Supabases tries to make it simpler and easy to use. &lt;br&gt;
Below is a diagram of the basic infrastructure of Supabase&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsxsodlr3azbfwzu140lc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsxsodlr3azbfwzu140lc.png" alt="Image description" width="800" height="630"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, lets  try to understand each of the above concepts - &lt;br&gt;
Supabase&lt;br&gt;
The main part. It is the entire backend around the Postgres database.&lt;/p&gt;

&lt;p&gt;Supabase Studio&lt;br&gt;
The administration UI, which you see when you go to app.supabase.com.&lt;/p&gt;

&lt;p&gt;Supabase Client Libraries&lt;br&gt;
Supabase provides low-level access to Supabase with client libraries in various technologies.&lt;/p&gt;

&lt;p&gt;Supabase CLI&lt;br&gt;
Supabase CLI provides a command line interface for the Supabase API.&lt;/p&gt;

&lt;p&gt;S3 storage provider&lt;br&gt;
Supabase uses Amazon S3 storage to save all large files. However, for the self-hosted variant, you must select an S3-compatible storage provider.&lt;/p&gt;

&lt;p&gt;Didn't quite catch on? No worries, let's simplify the working of Supabse.&lt;br&gt;
At a high level, Supabse provides two things, The backend and The frontend. The backend consists of infrastructure such as a Database, file storage, and edge functions. The front end consists of SDK which basically connects the infrastructure to the various frameworks used to develop applications such as Reacr, flutter, etc. For users this allows the user to simply communicate to the infrastructure and automatically generates REST and GraphQl APIs&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclsion
&lt;/h2&gt;

&lt;p&gt;Supabase is a great open source alternative for Firebase, as most of the services Supabase uses are generally also open source, while also providing the various important services Authentication and row-level-security.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
