Saleor Store
우리 컬렉션을 쇼핑하세요
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Controlled, negotiation-driven agricultural trading platform with strict, non-negotiable rules.
This repository is the canonical source of truth for the application. All system behavior must be reflected in files here.
• Frontend: Next.js 14 (App Router)
• Backend: Convex (serverless backend)
• Language: TypeScript everywhere
• Deployment: Vercel-compatibleREADME 전문 보기 ↗Controlled, negotiation-driven agricultural trading platform with strict, non-negotiable rules.
This repository is the canonical source of truth for the application. All system behavior must be reflected in files here.
dormant/supabase/dormant/supabase/DO_NOT_USE.md for detailed explanationfarm2market/
├── app/ # Next.js App Router
│ ├── layout.tsx # Root layout
│ ├── page.tsx # Home page
│ └── globals.css # Global styles
├── convex/ # Convex backend
│ ├── schema.ts # Database schema (schema-first design)
│ ├── auth.ts # Authentication & authorization
│ ├── wallet.ts # Wallet system (closed loop)
│ ├── listings.ts # Farmer listings & inventory
│ ├── payments.ts # Pay-to-lock system (atomic)
│ ├── admin.ts # Admin authority & actions
│ ├── utils.ts # Utility functions (UTID, exposure calc)
│ ├── constants.ts # System constants
│ └── _generated/ # Auto-generated Convex files
├── docs/ # Documentation
│ ├── architecture.md # System architecture & governance
│ ├── day66_pre_activation.md
│ └── day67_production_activation.md
├── dormant/ # Dormant/unused code (DO NOT USE)
│ └── supabase/ # ⚠️ FORBIDDEN - Supabase code (see DO_NOT_USE.md)
├── package.json
├── tsconfig.json
├── next.config.js
├── convex.json # Convex configuration
└── README.md
This application supports two separate deployment modes with separate URLs:
Both deployments run simultaneously with completely separate:
See deployment_modes_setup for complete setup instructions.
NEXT_PUBLIC_CONVEX_URL (pilot Convex URL), NEXT_PUBLIC_DEPLOYMENT_MODE=pilotNEXT_PUBLIC_CONVEX_URL (dev Convex URL), NEXT_PUBLIC_DEPLOYMENT_MODE=devInstall dependencies:
npm install
Set up Convex:
npx convex dev
This will:
.env.local with NEXT_PUBLIC_CONVEX_URLOr manually set the Convex URL:
.env.local with: NEXT_PUBLIC_CONVEX_URL=https://greedy-tortoise-911.convex.cloudStart Next.js dev server:
npm run dev
All business logic lives in convex/:
convex/schema.ts - defines all tables and indexesconvex/auth.ts - user creation, role verificationconvex/wallet.ts - closed loop wallet systemconvex/listings.ts - farmer listings, auto-split into 10kg unitsconvex/payments.ts - atomic pay-to-lock systemconvex/admin.ts - admin actions, purchase windowsfarmer: Lists produce, receives paymentstrader: Buys from farmers, sells to buyersbuyer: Purchases from traders (no price visibility)admin: Final authority, controls purchase windowsYYYYMMDD-HHMMSS-ROLE-RANDOMcapital ledger (locked by default)profit ledger (always withdrawable)This project uses Cursor rules to guide AI-assisted development and ensure system integrity.
.cursorrules - Active rules file that Cursor reads automaticallyKey Principles:
Admin Hierarchy:
adminLevel === "junior"): Confirms delivery for assigned storage locations onlyadminLevel === "super" or undefined): Full governance and oversight powersSee CURSOR_RULES for complete rules and guidelines.
dormant/supabase/DO_NOT_USE.md)Complete documentation index organized by topic:
Supabase is NOT used in this project and MUST NOT be used.
dormant/supabase/ and is permanently dormantdormant/supabase/DO_NOT_USE.md for detailed explanationPrivate - Farm2Market Uganda