MCPcopy Index your code
hub / github.com/Source-Controller/eCommerce-Fullstack

github.com/Source-Controller/eCommerce-Fullstack @main

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

Full Stack E-Commerce Clothing Website

This project is a full stack e-commerce website built with Next js. I created this project as an exercise to develop my web development skills, especially to learn about Next js.

Table of contents

Overview

The challenge

  • Build out the project to the designs provided
  • Implementing cart functionality
  • Connecting to Sanity as back end database for e-commerce
  • Connecting Stripe APIs to power online payment processing for e-commerce

Screenshot

Design overview for Dine Market e-commerce For now the search bar is only for styling purposes and doesn't work properly yet

Links

The live site is deployed in vercel, but it seems that vercel can't render swiper js. In the meantime i'm still trying to find a solution - Live Site URL

Credit

Figma Web Design & UI kit i used for this project is design by Weird Design Studio

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Next JS - React Framework for Production
  • Sanity - Sanity is a customizable solution that treats content as data to power digital business.
  • Stripe - APIs to power online payment processing for e-commerce
  • react-hot-toast - react library that adds beautiful notifications to our react application.
  • react icons - JS library to add icons
  • swiper js - JS library to add slider component
  • canvas-confetti - Lightweight JS plugin to create a confetti celebration explosion effect. It draws confetti graphics on the HTML canvas element.

What I learned

I learned how to connect stripe as payment gate for e-commerce. Full code for connecting to stripe in /pages/api/stripe.js payment with stripe

The confetti effect is implemented on the payment success page after the user successfully checkouts their cart payment success

Continued development

The development of this project can be continued by adding a search filter functionality, an e-commerce newsletter, activate the slider function for product section in homepage. In the near future, I'm going to explore react js search filters and maybe add that functionality myself.

Useful resources

Link

  • Github - (https://github.com/followDev/eCommerce-Fullstack.git)

Acknowledgments

A HUGE Thanks to Javascript Mastery youtube channel which really helps me in learning about web development. I recommend this channel to everyone who wants to learn about web development and javascript

Getting Started

To run the development server:

npm run dev

Core symbols most depended-on inside this repo

fire
called by 5
lib/utils.js
useStateContext
called by 4
context/StateContext.js
urlFor
called by 2
lib/client.js
getStripe
called by 1
lib/getStripe.js
runConfetti
called by 1
lib/utils.js
onAdd
called by 1
context/StateContext.js
toggleCartItemQuantity
called by 1
context/StateContext.js
Allproducts
called by 0
components/AllProducts.jsx

Shape

Function 33

Languages

TypeScript100%

Modules by API surface

context/StateContext2.js7 symbols
context/StateContext.js7 symbols
lib/utils.js2 symbols
components/Newsletter.jsx2 symbols
pages/successPay.js1 symbols
pages/cart.js1 symbols
pages/api/stripe.js1 symbols
pages/_document.js1 symbols
pages/_app.js1 symbols
lib/getStripe.js1 symbols
lib/client.js1 symbols
components/Product.jsx1 symbols

For agents

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

⬇ download graph artifact