CloudState - Zero-config JSON persistence built for AI-driven apps.

by
CloudState is the zero-config database built for the vibe-coding era. Skip setting up databases, schemas, or complex connection strings. Get a unique JSON endpoint in under 10 seconds, drop our custom system prompt into Cursor, v0, Bolt, or Lovable, and let AI sync your app state with simple GET/PUT fetch calls. Powered by native Postgres JSONB, CloudState features edge latency and optimistic concurrency control (x-version) to prevent multi-user write conflicts.

Add a comment

Replies

Best
Maker
📌
Hey Product Hunt! 👋 As developers building apps in this new era of "vibe-coding" (using tools like Cursor, Bolt.new, v0, and Lovable), we noticed a recurring bottleneck: getting persistent data to work sucks up all the momentum. Every time we want to build a simple interactive app or prototype, we spend more time setting up database clusters, configuring ORMs, writing migrations, or hacking localstorage syncing than writing actual product features. We built CloudState to make database persistence instant. ⚡ What is CloudState? It is a zero-configuration cloud persistence layer designed to work natively with AI code generation. Zero Config: No schemas, no migrations, no connection strings. If it’s valid JSON, it gets saved. 10-Second Setup: Initialize a project, grab your unique JSON endpoint, and you're good to go. LLM-Native Prompting: Copy-paste our custom system prompt or .cursorrules directly into your AI editor to instruct it exactly how to read/write state. Optimistic Concurrency: Native x-version header validation prevents multiple agents or users from overwriting each other’s changes. Edge Performance: Powered by Hono and Neon Postgres (JSONB) for sub-30ms read/write times. 🛠️ How to use it in your code: No heavy SDKs required. Use standard fetch() GET to read and PUT to overwrite: javascript // Overwrite state await fetch("", { method: "PUT", headers: { "x-api-key": "your_api_key" }, body: JSON.stringify(appState) }); 📦 The Stack: Frontend: Next.js (React) + Clerk Auth (Static export compatibility, deployed on Firebase Hosting at cloudstate.web.app) Backend: Hono API (Deployed on Render at cloudstate.onrender.com) Database: Neon Serverless PostgreSQL + Drizzle ORM Analytics: Umami Analytics 💬 We want your feedback! CloudState is built by builders, for builders. Try it out for free at cloudstate.web.app! What features should we add next to our roadmap? (CORS allowlists, real-time sync, custom client SDKs?) What persistent app are you going to build next? Happy vibe-coding! ⚡ — The CloudState Team

the system prompt that drops straight into Cursor or v0 is genuinely clever, removes the usual handholding that kills momentum when prototyping. optimistic concurrency baked in with x-version is a really thoughtful call for a tool aimed at vibe-coded apps that will inevitably hit multi-user chaos.

the x-version header for optimistic concurrency is such a thoughtful touch for vibe-coded apps where multiple agents or users might be hitting the same state at once. clean execution.