Welcome to Walmart Clone, a robust e-commerce platform mimicking the experience of one of the world's largest retailers. This project showcases cutting-edge technology to create a fully functional, scalable, and fast platform for users to browse and shop. Here's an overview of the technologies used in this project:
⚡ Next.js 14 for server-side rendering, intercepting, and parallel routing
🔍 Oxylabs for scraping product data efficiently
🎨 Tailwind CSS for building responsive and modern UI
🖌️ Shadcn for sleek UI components
🐻 Zustand for state management
Follow these instructions to get the project up and running locally.
- Node.js (version 14 or later)
- npm or yarn
- Oxylabs account for web scraping
-
Clone the repository:
git clone https://github.com/crist-pereyra/walmart-clone cd walmart-clone
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:3000
to see Walmart Clone in action!
Here's an overview of the project's structure:
walmart-clone/
├── app/ # Source code
│ ├── @modal/ # Parallel route for Basket Page
│ ├── basket/ # Shopping cart functionality Shopping and s
│ ├── product/ # Product page
│ ├── search/ # Results page
│ ├── globals.css # CSS styles
│ ├── layout.tsx # Main layout
│ └── page.tsx # Main page
├── assets/ # Images
├── components/ # Reusable React components
├── lib/ # Oxylabs scrapping scripts and format scripts
├── stores/ # Zustand store
├── .eslintrc.json # ESLint configuration
├── .gitignore # Git ignore file
├── README.md # Project documentation
├── next.config.mjs # Next.js configuration
├── package-lock.json # Lock file for npm
├── package.json # Project metadata and scripts
├── postcss.config.mjs # PostCSS configuration
├── tailwind.config.ts # Tailwind CSS configuration
└── tsconfig.json # TypeScript configuration
- Home Page: Modern and responsive landing page showcasing featured products.
- Product Listings: Browse and filter items across categories with real-time data.
- Shopping Cart: Users can add, remove, and update products in their cart.
- Product Scraping: Real-time product data scraping using Oxylabs.
- State Management: Smooth state management using Zustand.
- Responsive UI: Beautiful and responsive design powered by Tailwind CSS and Shadcn.
- Advanced Routing: Seamless user experience with Next.js intercepting and parallel routes.
Dive into the Walmart Clone experience! 🛒✨