β‘ Blazing Fast β’ π§ Smart Search β’ π Full-Stack Commerce β’ π― Production Ready
π https://starkk.shop
Starkk.shop is a high-performance, scalable MERN e-commerce platform engineered with a focus on speed, intelligent data flow, and seamless user experience.
Unlike traditional e-commerce apps, Starkk is built with:
- β‘ Ultra-fast loading (cache-first architecture)
- π Smart search (Elasticsearch + MongoDB fallback)
- π§© Dynamic layout system (data-driven UI)
- π¦ Centralized state + caching (Redux + Context API)
π‘ This is not just a project β it's a production-grade system design.
- Dynamic product listings with layout engine
- Category-based filtering & smart browsing
- Cart & wishlist with persistent state
- Secure JWT-based authentication
- Elasticsearch-powered search
- Trending & recent searches
- Intelligent suggestions (products, sellers, categories)
- Centralized caching via
DataContext - Redux Toolkit global state management
- Stale-checking (prevents redundant API calls)
- Lazy loading + code splitting
- OTP + password-based authentication
- Seller dashboard-ready backend
- Product management system
- Optimized
/initial-dataendpoint - Redis caching + background cache warming
- MongoDB indexing for high-speed queries
- Image sanitization + fallback system
- React.js
- Redux Toolkit
- Context API
- Tailwind CSS
- Framer Motion
- Node.js
- Express.js
- MongoDB (Mongoose)
- Redis (Caching Layer)
- Elasticsearch (Search Engine)
- JWT Authentication
- Axios
- Cloudinary
starkkkk
ββ client
β ββ @
β β ββ components
β β ββ ui
β β ββ button.tsx
β β ββ card.tsx
β β ββ checkbox.tsx
β β ββ dialog.tsx
β β ββ drawer.tsx
β β ββ input.tsx
β β ββ label.tsx
β β ββ scroll-area.tsx
β β ββ select.tsx
β β ββ slider.tsx
β ββ components
β β ββ common
β β ββ FallbackImage.jsx
β β ββ Loader.jsx
β ββ components.json
β ββ eslint.config.js
β ββ index.html
β ββ lib
β β ββ utils.js
β ββ package-lock.json
β ββ package.json
β ββ postcss.config.js
β ββ public
β β ββ logo.png
β ββ README.md
β ββ src
β β ββ App.jsx
β β ββ assets
β β β ββ cod.png
β β β ββ delivery.png
β β β ββ images.jpeg
β β β ββ loading.gif
β β β ββ login-bg.webp
β β β ββ login.jpeg
β β β ββ logo.png
β β β ββ logo.webp
β β β ββ logoname.png
β β β ββ pngtree-cash-on-delivery-icon-png-image_6364044.png
β β β ββ profile.png
β β β ββ return.png
β β β ββ signn.webp
β β β ββ slogo.webp
β β β ββ slogooo.png
β β β ββ slogooo.webp
β β β ββ sslogo.png
β β β ββ top.avif
β β β ββ top.jpg
β β β ββ vmig7kasls34evfbkz9f.jpg
β β ββ axios.js
β β ββ Components
β β β ββ admin
β β β β ββ AdminAds.jsx
β β β β ββ AdminCategories.jsx
β β β β ββ AdminComboOffer.jsx
β β β β ββ AdminLayout.jsx
β β β β ββ AdminNavBar.jsx
β β β β ββ AdminOrders.jsx
β β β β ββ AdminOverview.jsx
β β β β ββ AdminProducts.jsx
β β β β ββ AdminSellers.jsx
β β β β ββ AdminSponsoredProducts.jsx
β β β β ββ AdminUsers.jsx
β β β ββ axios.js
β β β ββ bottom.jsx
β β β ββ botttommm.jsx
β β β ββ CartProductCard.jsx
β β β ββ Category.jsx
β β β ββ CategoryCard.jsx
β β β ββ CategoryCardSkeleton.jsx
β β β ββ DraggableScrollbar.jsx
β β β ββ Filtermodel.jsx
β β β ββ home
β β β β ββ CartSection.jsx
β β β β ββ CategoryFilterBar.jsx
β β β β ββ CategorySection.jsx
β β β β ββ CategorySectionn.jsx
β β β β ββ ComboOfferSection.jsx
β β β β ββ DoubleAdd.jsx
β β β β ββ GenderFilterBar.jsx
β β β β ββ ProductSection.jsx
β β β β ββ RecentlyViewedSection.jsx
β β β β ββ SearchBar.jsx
β β β β ββ SellerSection.jsx
β β β β ββ SingleAdd.jsx
β β β β ββ SkeletonSection.jsx
β β β β ββ SponsoredSection.jsx
β β β β ββ Topbox.jsx
β β β β ββ TrendingSection.jsx
β β β β ββ TripleAdd.jsx
β β β ββ HorizontalProductRow.jsx
β β β ββ js.js
β β β ββ LoadingSpinner.jsx
β β β ββ magicui
β β β β ββ dock.tsx
β β β ββ Navbar.jsx
β β β ββ OrderConfirmation.jsx
β β β ββ OwnerCard.jsx
β β β ββ PageCacheProvider.JSX
β β β ββ ProductCard.jsx
β β β ββ ProductCard4line.jsx
β β β ββ ProductCardSkeleton.jsx
β β β ββ RelatedProducts.jsx
β β β ββ SearchBar.jsx
β β β ββ SearchResults.jsx
β β β ββ seller
β β β β ββ NavBar.jsx
β β β β ββ Orders.jsx
β β β β ββ Overview.jsx
β β β β ββ ProductForm.jsx
β β β β ββ Products.jsx
β β β β ββ Profile.jsx
β β β β ββ ProfileForm.jsx
β β β ββ selleraxios.js
β β β ββ SellerCard.jsx
β β β ββ SellerCardSkeleton.jsx
β β β ββ SellerProfileSkeleton.jsx
β β β ββ SkeletonSection.jsx
β β β ββ useraxios.js
β β β ββ WishlistProductCard.jsx
β β ββ context
β β ββ DataProvider.jsx
β β ββ ErrorBoundary.jsx
β β ββ hooks
β β β ββ useAdminAuth.jsx
β β β ββ useLazySection.jsx
β β ββ i18next.js
β β ββ index.css
β β ββ Layout.jsx
β β ββ lib
β β β ββ utils.ts
β β ββ main.jsx
β β ββ Middleware
β β β ββ AdminProtectedRoute.jsx
β β β ββ Protectedroute.jsx
β β ββ Navbar.jsx
β β ββ pages
β β β ββ AboutUs.jsx
β β β ββ AdminAuth.jsx
β β β ββ AdminDashboard.jsx
β β β ββ CancellationReturn.jsx
β β β ββ Cart.jsx
β β β ββ CategoryPage.jsx
β β β ββ CheckoutPage.jsx
β β β ββ ComboPage.jsx
β β β ββ FAQs.jsx
β β β ββ Home.jsx
β β β ββ LoginRegister.jsx
β β β ββ OrderConfirmation.jsx
β β β ββ OrderDetails.jsx
β β β ββ OwnerProfilePage.jsx
β β β ββ PrivacyPolicy.jsx
β β β ββ ProductDetails.jsx
β β β ββ ProductPage.jsx
β β β ββ SearchResults.jsx
β β β ββ SellerAuth.jsx
β β β ββ SellerDashboard.jsx
β β β ββ SellerOrders.jsx
β β β ββ SellerProducts.jsx
β β β ββ ShippingDelivery.jsx
β β β ββ TermsOfUse.jsx
β β β ββ UserDashboard.jsx
β β β ββ WishlistPage.jsx
β β ββ routes.jsx
β β ββ selleraxios.js
β β ββ services
β β β ββ HomeAPI.js
β β ββ store.js
β β ββ useraxios.js
β β ββ utils
β β ββ authUtils.js
β ββ stats.html
β ββ tailwind.config.js
β ββ tsconfig.json
β ββ vite.config.js
ββ package-lock.json
ββ package.json
ββ README.MD
ββ server
ββ app.js
ββ config
β ββ cloudinaryConfig.js
β ββ db.js
β ββ multerConfig.js
ββ middleware
β ββ adminLoggedin.js
β ββ auth.js
β ββ userLoggedin.js
ββ models
β ββ adminModel.js
β ββ CategoryModel.js
β ββ ComboOfferModel.js
β ββ layoutModel.js
β ββ orderModel.js
β ββ productModel.js
β ββ sellerModel.js
β ββ SponsoredProductModel.js
β ββ TempOrderModel.js
β ββ userModel.js
ββ package-lock.json
ββ package.json
ββ routes
β ββ adminRouter.js
β ββ category.js
β ββ sellerRouter.js
β ββ userRouter.js
β ββ userrr.js
ββ server.js
ββ utils
ββ cache.js
ββ otp.js
---
## β‘ Performance Philosophy
> β‘ βSpeed is a feature.β
* π« No unnecessary API calls
* π§ Smart cache invalidation
* β‘ Instant navigation (no reload feel)
* π¦ Preloaded critical data (`/initial-data`)
---
## π Data Flow Architecture
```mermaid
graph TD
A[Client] --> B[DataContext Cache]
B -->|Cache Hit| C[Instant Render β‘]
B -->|Cache Miss| D[API Request]
D --> E[Redis Cache]
E --> F[MongoDB]
F --> E --> B
git clone https://github.com/sharadhkr/stark.git
cd starkcd frontend && npm install
cd ../backend && npm installCreate .env file in backend:
MONGO_URI=your_mongo_uri
JWT_SECRET=your_secret
REDIS_URL=your_redis_url
ELASTIC_URL=your_elasticsearch_url
CLOUDINARY_URL=your_cloudinary_url# backend
npm run dev
# frontend
npm start- π€ AI-powered product recommendations
- π± Progressive Web App (PWA)
- π³ Payment gateway integration
- π Advanced analytics dashboard
Contributions are welcome! Fork the repo and submit a PR π
Sharad Rathore π Full Stack Developer | Performance-Driven Engineer
If you like this project:
π Star β the repo π Share it with others
βStarkk is not just an e-commerce app β it's a performance-engineered system.β
