LIVE PREVIEWBUY FOR $3

IMPORTANT: This utility makes use of AI options powered by Google Gemini and OpenAI. AI API utilization prices are NOT included within the buy worth. You will have to offer your personal API keys and pay for AI utilization in accordance with the respective supplier’s pricing.

Revive — Product Designer & Print-on-Demand SaaS Platform

Revive is a production-grade, installable Product Designer and Customized Product SaaS platform constructed with React 18, Vite 5, TypeScript, Tailwind CSS, and a totally managed Supabase backend. Ship an entire design studio, storefront, and admin console — with role-based entry, a first-run setup wizard, PWA set up, and offline help — in hours as an alternative of months.

Each module is production-ready, absolutely responsive, secured with server-side Row-Degree Safety, and documented contained in the codebase (/docs). Whether or not you might be launching a print-on-demand retailer, a branded merchandise portal, or a white-label custom-product SaaS, Revive provides you a refined, native-feel basis you possibly can rebrand and deploy the identical day.

Dwell Demo

Demo URL: https://revive.wrapcoders.com

Consumer: [email protected] / User123!
Admin: [email protected] / Admin123!

App Overview

  • Finish-to-end product designer with templates, cliparts, mockups, results, and stickers.
  • Customized product catalog with pricing, role-based visibility, and stock hooks.
  • Cart, checkout, order administration, and order affirmation flows.
  • Installable PWA with offline routing, replace prompts, and admin-controlled branding.
  • First-run Setup Wizard that provisions the Tremendous Admin securely and locks itself after completion.
  • Absolutely responsive: full sidebar on desktop, mini-rail on pill, off-canvas drawer on cell.
  • Multi-role entry system (Consumer, Admin, Moderator, Agent, Supplier, Workers) with server-enforced permissions.

Key Options

  • Fashionable React 18 + Vite 5 + TypeScript 5 stack (no legacy construct tooling).
  • Tailwind CSS v3 with a semantic design-token system (absolutely themable — darkish mode prepared).
  • shadcn/ui + Radix Primitives + Lucide icons for accessible, composable UI.
  • TanStack Question for information fetching, caching, and background refresh.
  • React Router with lazy-loaded route chunks and a splash-aware Suspense fallback.
  • i18next multi-language prepared (drop-in translation catalogs).
  • International splash display preloader utilizing dynamic model property — one launch expertise, zero flicker.
  • Toast + banner notification system constructed on sonner and shadcn Toaster.
  • Nameless visitor periods that improve seamlessly into full accounts (cart and designs survive signup).
  • Admin console for branding, PWA configuration, and system defaults.

Multi-Function System

Roles stay in a devoted user_roles desk (by no means on profiles) and are enforced server-side by a SECURITY DEFINER perform to forestall privilege-escalation assaults.

  • Consumer — Default authenticated shopper/designer. Owns their designs, cart, and orders.
  • Admin — Full management of branding, PWA, catalog, customers, and system settings.
  • Moderator — Opinions user-generated content material (designs, cliparts, stickers).
  • Agent — Buyer-support console: learn orders, reply to tickets, act on behalf of customers.
  • Supplier — Fulfilment associate floor, scoped to assigned orders solely.
  • Workers — Inside operator with read-mostly entry to operational dashboards.

Including a brand new function is a one-line enum change plus an RLS coverage — the client-side useHasRole() hook and the server-side has_role(uid, function) perform decide it up mechanically.

Authentication System

  • Electronic mail + password with strong-password enforcement and power meter.
  • Google OAuth sign-in prepared out of the field.
  • Nameless periods on first go to — visitor carts and designs by no means get misplaced.
  • Nameless-to-authenticated improve preserves person.id and all owned rows.
  • Password reset by way of one-time restoration hyperlink with a devoted /reset-password web page.
  • Session persistence with computerized refresh and onAuthStateChange listener.
  • Server-validated id — no consumer belief for privileged actions.

Function-Primarily based Redirect System

  • Unauthenticated guests are routed to /auth.
  • Admins land on /admin; normal customers land on the app residence.
  • Function gates shield each admin floor at each the route and question stage.
  • Deep-link safety: unauthorized customers bounce again to the proper vacation spot after login.

Setup Wizard (Set up Circulate)

A sophisticated, first-run set up expertise that provisions the system securely and locks itself after completion.

  1. Surroundings Validation — pings the database, auth service, and storage. Blocks progress on any failure with human-readable errors.
  2. Tremendous Admin Creation — full title, e mail, password with power meter. Promoted atomically by way of a one-shot bootstrap_super_admin() RPC.
  3. App Identification & Branding — app title, tagline, main colour, emblem, favicon.
  4. System Defaults — timezone, foreign money, date format, default language.
  5. Overview & Launch — writes app_settings.setup_completed = true and redirects into the app.

Safety-first: the SetupGate forces each customer to /setup till an admin exists. As soon as one exists, /setup is blocked. The bootstrap RPC refuses to run if any admin already exists — the promotion is a one-shot server-side verify.

PWA System (Installable, Offline, Admin-Managed)

  • Installable on Android, iOS, and desktop with a native-app really feel.
  • Runtime manifest patching — admins change title, icons, colours, and show mode and not using a rebuild.
  • Offline banner, offline fallback web page, and Workbox-powered asset caching.
  • Replace immediate toast when a brand new service employee is ready — one-click reload.
  • System-specific set up directions at /set up (Android / iOS / Desktop).
  • Favicon, Apple contact icon, and manifest icons all pushed by admin-uploaded model logos.

Supabase Integration

  • Auth — e mail/password, OAuth, nameless, password reset — all wired.
  • Database — versioned SQL migrations below supabase/migrations/, each desk with RLS enabled and express GRANTs in the identical migration.
  • Row-Degree Safety — customers solely see their very own information; admins gated by has_role(); insurance policies audited and non-recursive.
  • Storage — devoted buckets for avatars (owner-scoped), logos (admin-write), mockups, cliparts, and user-uploads.
  • Realtime-ready — subscriptions could be enabled per desk for stay updates.
  • Edge Capabilities — clear scaffolding for auth handlers, e mail senders, and webhooks.

Demo / Check Mode (.env Managed)

A build-time flag governs the whole demo expertise so no demo credentials ever leak into manufacturing bundles.

  • VITE_DEMO_MODE=true — quick-login buttons seen, demo credentials pre-fillable, one-tap login enabled for seeded accounts.
  • VITE_DEMO_MODE=false — all quick-login UI faraway from the DOM, no demo credentials within the bundle, production-safe auth solely.

Demo checks are compile-time constants — the bundler tree-shakes demo code out of manufacturing builds solely.

Responsive Navigation System

  • ≥ 1200 px (Desktop) — full sidebar with icons, labels, hover states, and premium spacing.
  • 768 – 1199 px (Pill / Laptop computer) — 60 px mini rail with icons and hover tooltips.
  • < 768 px (Cellular) — off-canvas drawer with backdrop, scroll lock, and auto-close on route change.
  • Scrollable menu, keyboard navigation, and full ARIA help at each breakpoint.

Documentation System

A self-contained SaaS-grade documentation portal ships contained in the venture at /docs — sidebar navigation, stay search, syntax-highlighted code blocks, sticky active-section monitoring, and a cell drawer.

  • Introduction & Tech Stack
  • Step-by-step Set up Information
  • Construct & Deployment (VPS, Docker, cPanel, managed internet hosting)
  • Mission Construction & Core Modules
  • Configuration Information (.env, App Settings, PWA, Storage)
  • Options Documentation (Auth, Roles, PWA, Setup Wizard, Demo Mode)
  • Troubleshooting, FAQ, and Changelog v1.1.0

Safety Options

  • Server-enforced Row-Degree Safety on each public desk.
  • Roles saved in a devoted desk with SECURITY DEFINER checks — proof against consumer tampering.
  • Zod-based schema validation on each type and edge perform enter.
  • No dangerouslySetInnerHTML on person content material anyplace within the app.
  • Setup wizard hard-locks after completion — the bootstrap RPC can’t be re-run.
  • Secrets and techniques saved in setting variables and Vault — by no means in supply.
  • Non-obligatory HIBP leaked-password verify swap on the auth backend.

Efficiency Optimization

  • Lazy-loaded route chunks with splash-aware Suspense fallbacks.
  • PWA asset caching for fast repeat masses.
  • Tree-shaken manufacturing bundles (demo code excluded when disabled).
  • Optimized picture dealing with with dimension pre-computation.
  • Tanstack Question background refresh and cache reuse.
  • Zero horizontal overflow throughout all breakpoints — verified from 320 px to 1920 px.

Deployment Information (Abstract)

  • Improvement — bun set up && bun run dev — open http://localhost:8080.
  • Manufacturing construct — bun run construct outputs a static dist/ bundle.
  • Managed internet hosting — publish immediately; frontend updates on demand, backend deploys mechanically.
  • VPS / Docker / cPanel — serve dist/ with nginx / Caddy / Apache and add a SPA fallback to index.html.
  • First run — go to the location; the Setup Wizard provisions the Tremendous Admin mechanically.

Who Is It For?

  • Print-on-demand entrepreneurs launching a branded retailer.
  • Merchandise corporations providing customized merchandise (t-shirts, mugs, stickers, posters).
  • White-label SaaS builders promoting design studios to finish purchasers.
  • Businesses delivering custom-product portals for his or her clients.
  • Builders who want a production-grade React + Supabase starter with roles, PWA, and admin.

What You Get

  • Full supply code (React 18, TypeScript, Vite 5, Tailwind CSS v3).
  • All SQL migrations, RLS insurance policies, and storage bucket definitions.
  • Full documentation portal (/docs).
  • Setup Wizard, Admin Console, PWA, and Offline pages.
  • Lifetime updates and help as per CodeCanyon license phrases.

Launch sooner. Ship safer. Stand out. Revive provides you the whole product-designer SaaS basis — polished, secured, and documented — so you possibly can focus in your model and your clients.

Crafted by WRAPCODERS.


Source