MCPcopy
hub / github.com/joschan21/digitalhippo

github.com/joschan21/digitalhippo @main sqlite

repository ↗ · DeepWiki ↗
92 symbols 304 edges 66 files 0 documented · 0%
README

DigitalHippo - A Modern Fullstack E-Commerce Marketplace for Digital Products

Built with the Next.js 14 App Router, tRPC, TypeScript, Payload & Tailwind

Project Image

Features

  • 🛠️ Complete marketplace built from scratch in Next.js 14
  • 💻 Beautiful landing page & product pages included
  • 🎨 Custom artwork included
  • 💳 Full admin dashboard
  • 🛍️ Users can purchase and sell their own products
  • 🛒 Locally persisted shopping cart
  • 🔑 Authentication using Payload
  • 🖥️ Learn how to self-host Next.js
  • 🌟 Clean, modern UI using shadcn-ui
  • ✉️ Beautiful emails for signing up and after purchase
  • ✅ Admins can verify products to ensure high quality
  • ⌨️ 100% written in TypeScript
  • 🎁 ...much more

Getting started

To get started with this project, run

  git clone https://github.com/joschan21/digitalhippo.git

and copy the .env.example variables into a separate .env file, fill them out & and that's all you need to get started!

Acknowledgements

  • Payload for making this project possible

License

MIT

Extension points exported contracts — how you extend this code

Args (Interface)
(no doc)
src/get-payload.ts
Config (Interface)
(no doc)
src/payload-types.ts
NavItemProps (Interface)
(no doc)
src/components/NavItem.tsx
PageProps (Interface)
(no doc)
src/app/thank-you/page.tsx
User (Interface)
(no doc)
src/payload-types.ts
PaymentStatusProps (Interface)
(no doc)
src/components/PaymentStatus.tsx
PageProps (Interface)
(no doc)
src/app/product/[productId]/page.tsx
Product (Interface)
(no doc)
src/payload-types.ts

Core symbols most depended-on inside this repo

cn
called by 36
src/lib/utils.ts
formatPrice
called by 16
src/lib/utils.ts
getPayloadClient
called by 10
src/get-payload.ts
isAdminOrHasAccessToImages
called by 3
src/collections/Media.ts
isAdminOrHasAccess
called by 3
src/collections/Products/Products.ts
getServerSideUser
called by 3
src/lib/payload-utils.ts
parse
called by 3
src/app/products/page.tsx
fetch
called by 2
src/components/Providers.tsx

Shape

Function 67
Interface 25

Languages

TypeScript100%

Modules by API surface

src/payload-types.ts9 symbols
src/components/ui/sheet.tsx4 symbols
src/components/NavItems.tsx4 symbols
src/app/(auth)/sign-in/page.tsx4 symbols
src/lib/utils.ts3 symbols
src/components/emails/ReceiptEmail.tsx3 symbols
src/components/emails/PrimaryActionEmail.tsx3 symbols
src/components/ProductListing.tsx3 symbols
src/collections/Products/Products.ts3 symbols
src/app/products/page.tsx3 symbols
src/server.ts2 symbols
src/hooks/use-on-click-outside.ts2 symbols

Dependencies from manifests, versioned

@hookform/resolvers3.3.2 · 1×
@payloadcms/bundler-webpack1.0.5 · 1×
@payloadcms/db-mongodb1.0.6 · 1×
@payloadcms/richtext-slate1.1.0 · 1×
@radix-ui/react-dialog1.0.5 · 1×
@radix-ui/react-dropdown-menu2.0.6 · 1×
@radix-ui/react-label2.0.2 · 1×
@radix-ui/react-scroll-area1.0.5 · 1×
@radix-ui/react-separator1.0.3 · 1×
@radix-ui/react-slot1.0.2 · 1×
@tanstack/react-query4.36.1 · 1×

Datastores touched

(mongodb)Database · 1 repos

For agents

$ claude mcp add digitalhippo \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact