Skip to content

KeWangFX/-proposals-Generator

Repository files navigation

LeftClick Proposal Platform

A proposal generation MVP built with Next.js App Router. The product combines:

  • An Apple-inspired internal workspace for creating and managing proposals
  • A premium client-facing proposal page based on the supplied reference layout
  • Structured AI content generation with deterministic fallback output
  • Signature capture and Stripe checkout on the public proposal URL

Stack

  • Next.js 16 + TypeScript + Tailwind CSS
  • Supabase Auth and Postgres
  • Anthropic SDK for proposal generation
  • Stripe Checkout for payments

Local Setup

  1. Copy .env.example to .env.local
  2. Fill in the environment variables you want to use
  3. Install dependencies
  4. Run the dev server
npm install
npm run dev

Open http://localhost:3000.

Environment Behavior

  • If Supabase is not configured, auth falls back to a local demo session
  • If Anthropic is not configured, proposal generation falls back to deterministic local content
  • If Stripe is not configured, checkout falls back to a demo success flow

This makes the MVP runnable before all external services are wired up.

Supabase Schema

Use supabase/schema.sql to create the profiles and proposals tables plus the baseline RLS policies.

Main Routes

  • / landing page
  • /login sign in
  • /signup create account
  • /dashboard proposal list
  • /dashboard/new proposal creation form
  • /p/[id] public proposal page
  • /p/[id]/success payment success page

Quality Checks

npm run lint
npm run typecheck
npm run build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors