MCPcopy Index your code
hub / github.com/danablend/next-temu-clone-video

github.com/danablend/next-temu-clone-video @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
70 symbols 226 edges 49 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

🛍️ TEMU Clone | Modern E-Commerce Platform

A full-stack e-commerce platform built with NextJS 15 and React 19, inspired by TEMU's design. This project demonstrates modern web development practices and an end-to-end e-commerce experience.

MIT License Next.js React TypeScript Prisma

🌟 Features

  • 🚀 Built with Next.js 15 and React 19
  • 💎 Type-safe development with TypeScript
  • 🎨 Design with TailwindCSS
  • 🗄️ PostgreSQL database with Prisma ORM
  • 🔐 User authentication and authorization
  • 🛒 Real-time product fetching for live updates
  • 📊 Sanity Studio dashboard for product management
  • ⚡ Optimized performance with server-side rendering

🚀 Quick Start

Prerequisites

  • npm or yarn
  • Git

Installation

  1. Clone the repository
git clone https://github.com/danablend/public-nextjs-15-sanity-stripe-full-ecommerce-tutorial.git
cd public-nextjs-15-sanity-stripe-full-ecommerce-tutorial
  1. Install dependencies
npm install
# or
yarn install
  1. Set up environment variables
cp .env.example .env

Fill in your environment variables in the .env file:

DATABASE_URL="postgresql://..."
# etc..
  1. Set up the database
npx prisma db push
npx prisma generate
  1. Run the development server
npm run dev
# or
yarn dev

Visit http://localhost:3000 to see your application running.

🏗️ Tech Stack

  • Frontend
  • Next.js 15
  • React 19
  • TypeScript
  • TailwindCSS

  • Backend

  • Next.js Server Actions & API Endpoints
  • Prisma ORM
  • PostgreSQL

  • Deployment

  • Vercel
  • PostgreSQL (Your preferred provider)

🛡️ License

This project is licensed under the MIT License - see the LICENSE.md file for details.

🙏 Acknowledgments

📝 Notes

This is a project built for educational purposes. It's not affiliated with TEMU.

Core symbols most depended-on inside this repo

formatPrice
called by 8
src/lib/utils.ts
getOrCreateCart
called by 6
src/actions/cart-actions.ts
cn
called by 6
src/lib/utils.ts
urlFor
called by 5
src/sanity/lib/image.ts
createCart
called by 4
src/actions/cart-actions.ts
updateCartItem
called by 4
src/actions/cart-actions.ts
hashPassword
called by 2
src/actions/auth.ts
loginUser
called by 2
src/actions/auth.ts

Shape

Function 70

Languages

TypeScript100%

Modules by API surface

src/actions/auth.ts11 symbols
src/components/layout/WheelOfFortune.tsx7 symbols
src/sanity/lib/client.ts6 symbols
src/actions/cart-actions.ts5 symbols
src/components/cart/Cart.tsx4 symbols
src/components/layout/Header.tsx3 symbols
src/lib/utils.ts2 symbols
src/components/ui/dialog.tsx2 symbols
src/components/product/AddToCartButton.tsx2 symbols
src/app/checkout/success/page.tsx2 symbols
src/app/auth/sign-up/page.tsx2 symbols
src/app/auth/sign-in/page.tsx2 symbols

For agents

$ claude mcp add next-temu-clone-video \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact