Skip to content

devangdhyani/APP_builder-CLAUDE-PROJ4-

Repository files navigation

🚀 Schema-Driven No-Code App Builder

appbuil1output

appbuilder2

A modern, multi-tenant SaaS platform that allows users to instantly generate, deploy, and manage custom web forms and micro-apps without writing code.

Built with Next.js 16, React 19, and Supabase, this project demonstrates advanced architectural patterns including dynamic UI generation from JSON schemas, strict server-side validation, and automated database maintenance.

appbuilder3

✨ Key Features

  • Dynamic Schema Rendering: Forms are not hardcoded. The FormRenderer dynamically paints the UI on the fly based on JSON blueprints stored in the database.
  • Multi-Tenant Architecture: Total data isolation using Supabase Row-Level Security (RLS). Users can only access apps and submissions tied to their specific user_id.
  • Zero-API Backend: Completely powered by Next.js Server Actions ('use server') for secure, seamless client-to-database communication without a separate Node/Express server.
  • Dual-Layer Validation: Strict type-safety and data validation using Zod on both the client (for instant UI feedback) and the server (for secure database insertion

appbuilder4

appbuilder9

🛡️ Production-Grade Database Defenses

To ensure the platform remains fast and stays within free-tier limits during public demos, the backend features a robust, automated defense system:

  1. The Spammer Shield (Hard Cap): Users are strictly limited to creating a maximum of 2 apps per account.
  2. The Conveyor Belt (Rolling Window): Submissions are capped at 50 per app. When the 51st submission arrives, the oldest submission is silently deleted (FIFO), ensuring the app never breaks for the user but the database never bloats.
  3. The Night Watchman (pg_cron): An automated SQL cron job runs every hour to enforce a global limit of 250 apps across the entire platform, automatically purging old, abandoned demo accounts.

💻 Tech Stack

Frontend

  • Framework: Next.js 16 (App Router)
  • UI Library: React 19
  • Styling: Tailwind CSS v4 & shadcn/ui
  • Form State: React Hook Form
  • Client Validation: Zod v4
  • Icons & Toasts: Lucide React & Sonner

Backend & Database

  • Server Logic: Next.js Server Actions
  • Database: Supabase (PostgreSQL)
  • Storage Strategy: Schema definitions stored as JSONB
  • Authentication: Supabase Auth (SSR Cookie-based)

appbuilder10

🛠️ Getting Started (Local Development)

1. Clone the repository

git clone [https://github.com/devangdhyani/APP_builder-CLAUDE-PROJ4-.git](https://github.com/devangdhyani/APP_builder-CLAUDE-PROJ4-.git)
cd ev-rental-app

About

A full-stack, schema-driven platform that converts simple form ideas into fully functional web applications — complete with database, validation, and admin dashboard.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors