The Hekto Marketplace project aims to create a robust and scalable platform for buyers and sellers to interact seamlessly. This repository provides the technical foundation, including architecture designs, API specifications, and other essential documentation to guide the development process.
The repository is organized as follows:
Directory structure:
└── marjan-ahmed-marketplace_technical_foundation-hekto/
├── README.md
├── components.json
├── data.ts
├── eslint.config.mjs
├── extra.ts
├── middleware.ts
├── next.config.mjs
├── package.json
├── postcss.config.mjs
├── sanity.cli.ts
├── sanity.config.ts
├── tailwind.config.ts
├── tsconfig.json
├── type.ts
├── .eslintrc.json
├── Documentation/
│ ├── Day 1 - Marketplace Business Goals - Hekto/
│ ├── Day 2 - Marketplace Technical Foundation - Hekto/
│ ├── Day 3 - API Integration Report - Hekto/
│ ├── Day 4 - Dynamic Frontend Components - Hekto/
│ ├── Day 5 - Testing and Backend Refinement - Hekto/
│ │ └── website_testing_report.csv
│ └── Day 6 - Deployment Preparation - Hekto/
│ └── hekto_test_report.csv
├── public/
│ └── videos/
└── src/
├── app/
│ ├── globals.css
│ ├── layout.tsx
│ ├── not-found.tsx
│ ├── page.tsx
│ ├── about/
│ │ └── page.tsx
│ ├── auth/
│ │ ├── login/
│ │ │ └── page.tsx
│ │ └── signup/
│ │ └── page.tsx
│ ├── blog/
│ │ ├── page.tsx
│ │ └── [slug]/
│ │ └── page.tsx
│ ├── cart/
│ │ ├── Toastify.tsx
│ │ └── page.tsx
│ ├── checkout/
│ │ └── page.tsx
│ ├── components/
│ │ ├── Breadcrumb.tsx
│ │ ├── Categories.tsx
│ │ ├── CommentSection.tsx
│ │ ├── DiscountedItem.tsx
│ │ ├── FeaturedProduct.tsx
│ │ ├── Footer.tsx
│ │ ├── Header.tsx
│ │ ├── LatestBlog.tsx
│ │ ├── LatestProduct.tsx
│ │ ├── ProductCart.tsx
│ │ ├── ProductDetail.tsx
│ │ ├── ProductHoveringEffect.tsx
│ │ ├── ReduxProvider.tsx
│ │ ├── RelatedProducts.tsx
│ │ ├── SearchBar.tsx
│ │ ├── SeeMoreBtn.tsx
│ │ ├── ServiceCard.tsx
│ │ ├── ShopControl.tsx
│ │ ├── ShopLeftSideBar.tsx
│ │ ├── StarRating.tsx
│ │ ├── Tag.tsx
│ │ └── UniqueProduct.tsx
│ ├── contact/
│ │ └── page.tsx
│ ├── faq/
│ │ └── page.tsx
│ ├── fonts/
│ │ ├── GeistMonoVF.woff
│ │ └── GeistVF.woff
│ ├── lib/
│ │ └── helper/
│ │ └── shipEngine.ts
│ ├── product/
│ │ ├── category/
│ │ │ ├── chair/
│ │ │ │ ├── page.tsx
│ │ │ │ └── [slug]/
│ │ │ │ └── page.tsx
│ │ │ └── sofa/
│ │ │ ├── page.tsx
│ │ │ └── [slug]/
│ │ │ └── page.tsx
│ │ ├── featured-products/
│ │ │ ├── page.tsx
│ │ │ └── [slug]/
│ │ │ └── page.tsx
│ │ └── trending-products/
│ │ ├── page.tsx
│ │ └── [slug]/
│ │ └── page.tsx
│ ├── search/
│ │ └── page.tsx
│ ├── shop/
│ │ ├── grid/
│ │ │ ├── page.tsx
│ │ │ └── [slug]/
│ │ │ └── page.tsx
│ │ └── list/
│ │ ├── page.tsx
│ │ └── [slug]/
│ │ └── page.tsx
│ ├── studio/
│ │ └── [[...tool]]/
│ │ └── page.tsx
│ └── tracking/
│ └── page.tsx
├── components/
│ └── ui/
│ ├── button.tsx
│ ├── card.tsx
│ ├── carousel.tsx
│ ├── dropdown-menu.tsx
│ ├── form.tsx
│ ├── input.tsx
│ ├── label.tsx
│ ├── navigation-menu.tsx
│ ├── sheet.tsx
│ ├── sonner.tsx
│ ├── tabs.tsx
│ ├── textarea.tsx
│ ├── toast.tsx
│ ├── toaster.tsx
│ └── tooltip.tsx
├── hooks/
│ └── use-toast.ts
├── lib/
│ └── utils.ts
├── redux/
│ ├── CartSlice.tsx
│ ├── Provider.tsx
│ ├── WishListSlice.tsx
│ └── store.tsx
├── sanity/
│ ├── blog.ts
│ ├── env.ts
│ ├── faq.ts
│ ├── products.ts
│ ├── structure.ts
│ ├── lib/
│ │ ├── client.ts
│ │ ├── image.ts
│ │ └── live.ts
│ └── schemaTypes/
│ └── index.ts
└── scripts/
└── import-data.mjs
Documentation/
: Contains all project-related documents.src/
: Source code for the project.tests/
: Test cases and testing resources.
-
Project Charter.md: Outlines the project's objectives, scope, stakeholders, and overall vision.
-
Requirements Specification.md: Details the functional and non-functional requirements, including user stories and acceptance criteria.
-
Architecture Design.md: Provides an overview of the system architecture, including component diagrams and technology stack.
-
Data Model.md: Describes the database schema, entity-relationship diagrams, and data flow within the system.
-
API Documentation.md: Specifies the RESTful API endpoints, request/response formats, and authentication mechanisms.
-
Testing Plan.md: Outlines the testing strategies, tools, test cases, and quality assurance processes to ensure system reliability.
To set up the project locally:
-
Clone the repository:
git clone https://github.com/marjan-ahmed/Marketplace_Technical_Foundation-Hekto.git
-
Navigate to the project directory:
cd Marketplace_Technical_Foundation-Hekto
-
Install dependencies:
# Assuming the project uses Node.js npm install
Note: Refer to the
Requirements Specification.md
for specific software and version requirements.
After installation, you can start the development server:
npm run dev