<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/is-sql-from-the-frontend-viable--zzeo97blj" -->

---
title: Is "SQL from the frontend” viable? | daily.dev
description: Explores the viability of 'SQL from the frontend' architectures, where the UI communicates directly with the database without a traditional backend abstraction...
canonical: https://daily.dev/posts/is-sql-from-the-frontend-viable--zzeo97blj
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Is "SQL from the frontend” viable? | daily.dev
og:description: Explores the viability of 'SQL from the frontend' architectures, where the UI communicates directly with the database without a traditional backend abstraction...
og:url: https://daily.dev/posts/is-sql-from-the-frontend-viable--zzeo97blj
og:image: https://api.daily.dev/og/posts/ZZEO97Blj.png
og:image:alt: Is "SQL from the frontend” viable?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Is "SQL from the frontend” viable?

**[Neon](https://daily.dev/sources/neontech)** · 4 min read · 0 upvotes · 0 comments

## Summary

Explores the viability of 'SQL from the frontend' architectures, where the UI communicates directly with the database without a traditional backend abstraction layer. While this approach dramatically improves development velocity by reducing abstractions and inter-team dependencies, it introduces serious security challenges. Key requirements for safe production use include query allow-listing, rate limiting, and row-level security (RLS). The post concludes that the technology isn't fully ready for production yet but is promising for prototypes and many apps, and discusses how Neon's Data API (formerly Neon RLS/Authorize) is working toward enabling this pattern safely.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://neon.com/blog/sql-frontend>

## Similar posts on daily.dev

- [The front-end architecture trilemma: Reactivity vs. hypermedia vs. local-first apps](https://daily.dev/posts/the-front-end-architecture-trilemma-reactivity-vs-hypermedia-vs-local-first-apps-tmledjdds) · InfoWorld · 19 upvotes · 0 comments
- [Enterprise-Grade Text-to-SQL with n8n — Part 2: From Raw SQL to Secure, Validated, Insightful Responses](https://daily.dev/posts/enterprise-grade-text-to-sql-with-n8n-part-2-from-raw-sql-to-secure-validated-insightful-respon-ygwutlzcm) · Trendyol Tech · 1 upvotes · 0 comments
- [TypeScript Security From Backend to Browser](https://daily.dev/posts/typescript-security-from-backend-to-browser-o0qrurtty) · JS Dev Space · 0 upvotes · 0 comments
- [How Axess Intelligence Simplified Their Backend With Neon’s Data API](https://daily.dev/posts/how-axess-intelligence-simplified-their-backend-with-neon-s-data-api-gfkgpcoav) · Neon · 6 upvotes · 0 comments

---

Tags: [#backend](https://daily.dev/tags/backend), [#postgresql](https://daily.dev/tags/postgresql)

[View this post on daily.dev](https://daily.dev/posts/is-sql-from-the-frontend-viable--zzeo97blj)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Is \"SQL from the frontend” viable?","url":"https://daily.dev/posts/is-sql-from-the-frontend-viable--zzeo97blj","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/is-sql-from-the-frontend-viable--zzeo97blj"},"datePublished":"2026-07-09T06:57:51.364Z","dateModified":"2026-07-09T07:00:59.552Z","description":"Explores the viability of 'SQL from the frontend' architectures, where the UI communicates directly with the database without a traditional backend abstraction...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4faa16b8e83b4cb057ca1fbbb21ab823?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4faa16b8e83b4cb057ca1fbbb21ab823?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Neon","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Neon","logo":"https://media.daily.dev/image/upload/s--65EDghou--/f_auto/v1724339118/logos/neontech","url":"https://daily.dev/sources/neontech"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/is-sql-from-the-frontend-viable--zzeo97blj","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"backend,postgresql","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Neon","item":"https://daily.dev/sources/neontech"},{"@type":"ListItem","position":3,"name":"Is \"SQL from the frontend” viable?"}]}
```

