Ecommerce Template
Next.js·React 등으로 만든 최신 전자상거래 템플릿
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기The campus circular economy, in one app — share, borrow, and discover at Manipal. Next.js + Supabase + Capacitor.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
The campus circular economy, in one app. Share what you don't use, ask for what you need, and keep good stuff out of landfills — built for the Manipal (MAHE) community. Live: wecycle.page · Android: Capacitor shell (page.wecycle.app) Engineers: start with HANDOFF.md. The backend moved from Supabase to Appwrite in September 2026, and the code still looks like it talks to Supabase. The handoff explains why, and how to add APIs safely. Everything runs in two modes: live (Appwrite in production, Supabase as the rollb [README 설치·사용 부분 발췌] Quick startREADME 전문 보기 ↗
The campus circular economy, in one app. Share what you don't use, ask for what you need, and keep good stuff out of landfills — built for the Manipal (MAHE) community.
Live: wecycle.page · Android: Capacitor shell (page.wecycle.app)
Engineers: start with HANDOFF.md. The backend moved from Supabase to Appwrite in September 2026, and the code still looks like it talks to Supabase. The handoff explains why, and how to add APIs safely.
| Surface | What it does |
|---|---|
| Marketplace | Share items (free / swap / borrow / sell) and post requests, with categories, photos, saves, and per-listing response threads |
| Services & Opportunities | Offer or find services and opportunities across a compensation spectrum — volunteer, free, or paid with price bands |
| Events | Community events with RSVP, custom registration forms (a full Google-Forms-style builder: MCQ, checkboxes, file/PDF upload, and more), and organizer insights (views, saves, RSVPs, per-question response breakdowns, CSV export) |
| Lost & Found | Report lost or found items, claim and return flows |
| Inventory | Community-owned items members can borrow |
| Storefronts | Every member has a public storefront collecting their listings |
| Direct messages | Private one-to-one chat, started from any post or profile — realtime, read receipts, block and report. Text only for now. See HANDOFF.md |
| Alerts | "Tell me when someone posts X" — matched server-side, delivered in-app and via a push queue |
| Impact | Per-user and per-community impact scores, CO₂ and money saved, leaderboards |
Everything runs in two modes: live (Appwrite in production, Supabase as the rollback path) and demo (local, no backend needed) — so the app is fully explorable without any configuration.
supabase.from(...) in the code is Appwrite underneath. Supabase remains configured as the rollback path — see HANDOFF.mdwecycle.pagenpm install
npm run dev
Open http://localhost:3000. With no environment configured the app runs in demo mode — every screen works against local fixture data, so you can explore the whole product immediately.
To run against a real backend, copy the template — it is pre-filled for the production Appwrite project, whose endpoint and project id are public by design:
cp .env.local.example .env.local
| Variable | Required | Purpose |
|---|---|---|
NEXT_PUBLIC_SUPABASE_URL | for live mode | Supabase project URL |
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY | for live mode | Publishable API key (legacy NEXT_PUBLIC_SUPABASE_ANON_KEY also honored). Safe to ship — RLS enforces every boundary server-side |
NEXT_PUBLIC_SITE_URL | optional | Canonical origin (defaults to https://wecycle.page) |
REMOVE_BG_API_KEY | optional | Server-only key for the background-removal proxy (/api/remove-background) |
The full variable list, and which are secret, is in HANDOFF.md. To stand up the schema on a fresh Appwrite project, see db/appwrite/README.md. The Supabase migrations in supabase/migrations/ are kept as history.
app/ Routes: the SPA shell (page.tsx), mission, privacy, terms,
delete-account, s/[id] share pages, api/remove-background
components/ 42 screen & UI components (screens are full-page surfaces)
components/forms/ Post/submit modals + the event form builder
lib/ Data & domain logic — auth context, live data layer,
demo stores, email gate, password rules, event forms,
opportunities, analytics, platform helpers
supabase/migrations/ Complete schema history, exported from the live project
supabase/functions/ Edge functions (push-fanout)
android/ Capacitor Android project (the shipped native shell)
scripts/ build-cap.sh (static export for native), helpers
docs/ Architecture, auth, backend, Android, deployment docs
public/ Brand assets, banners, icons
play-assets/ Play Store listing assets
app/page.tsx hosts the whole product as client-side screens (feed, marketplace, events, …) with dedicated full pages for focused tasks — form building, form filling, password changes — rather than stacked modals.ensure_profile, which refuses a profile to anyone else. Account creation itself is not yet gated server-side — see HANDOFF.md.create to members; ownership is stamped per row; counters and anything touching another member's row go through /api/rpc, which holds the server key. Details: HANDOFF.md.apiBase(). Details: docs/android.md.| Doc | Covers |
|---|---|
| docs/architecture.md | App structure, screen model, data layers, design language |
| docs/auth.md | The full auth model: passwords, OTP confirmation, the Manipal gate, reset flow, anti-enumeration |
| HANDOFF.md | Start here. Current architecture, the backend adapter, how to add an API, permissions, keys, known gaps |
| docs/backend.md | Historical — the Supabase backend as it was before the September 2026 move |
| docs/android.md | Building the native Android app, signing, Play readiness |
| docs/deploying.md | Web deploys, domain/DNS, auth email (SMTP) operations |
| docs/play-console-launch.md | Play Console launch runbook (closed testing) |
| docs/app-update-flow.md | Which changes reach the installed apps on their own, and which need a release |
| db/appwrite/README.md | Where the backend is going — Appwrite Education: the schema, the account/data import, and the media move |
npm run dev # dev server on :3000
npm run build # production build (what Vercel runs)
npm run build:cap # static export for the native shell (CAP_EXPORT=1)
npm run cap:sync # export + sync into android/
TypeScript is strict; there are no generated-code exceptions in app/, components/, or lib/.
All rights reserved for now — this repository is public for transparency and review. If you want to build on it, open an issue and ask.
| The database routes side by side, and what changed in each translation |