Shop-Now Tailwind Templates

Shop Now

ShopNow is a responsive e-commerce app built using Next.js (Tailwinds CSS and Typescript).

Shop Now - Modern E-commerce Platform

A modern, responsive e-commerce platform built with Next.js, TypeScript, and Tailwind CSS. This project showcases a beautiful UI with smooth animations, responsive design, and a great user experience.

Features

šŸ›ļø Product Management

  • Product listing with filtering and sorting
  • Detailed product pages
  • Product categories and tags
  • Price range filtering
  • Rating-based filtering
  • Search functionality

šŸŽØ UI/UX Features

  • Responsive design for all screen sizes
  • Beautiful animations and transitions
  • Dark mode theme
  • Interactive product cards
  • Image carousel for product galleries
  • Star rating system
  • Loading states and skeletons

šŸ” Search & Filtering

  • Real-time search functionality
  • Category-based filtering
  • Price range filtering
  • Rating-based filtering
  • Sort by price and release date
  • Related products suggestions

šŸ›’ User Experience

  • Protected routes for authenticated users
  • Smooth navigation between pages
  • Back button functionality
  • Responsive layouts
  • Loading states
  • Error handling

Tech Stack

  • Framework: Next.js 14
  • Language: TypeScript
  • Styling: Tailwind CSS
  • Icons: Tabler Icons, Lucide React
  • HTTP Client: Axios
  • State Management: React Hooks
  • Routing: Next.js App Router

Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/shop-now.git
    cd shop-now
    
  2. Install dependencies:

    npm install
    # or
    yarn install
    
  3. Run the development server:

    npm run dev
    # or
    yarn dev
    
  4. Open http://localhost:3000 in your browser.

Project Structure

shop-now/
ā”œā”€ā”€ app/
│   ā”œā”€ā”€ components/     # Reusable UI components
│   ā”œā”€ā”€ landing-page/   # Landing page components
│   ā”œā”€ā”€ products/       # Product-related pages
│   ā”œā”€ā”€ login/         # Authentication pages
│   ā”œā”€ā”€ signup/        # Authentication pages
│   ā”œā”€ā”€ services/      # API services
│   └── globals.css    # Global styles
ā”œā”€ā”€ public/            # Static assets
└── package.json       # Project dependencies

Key Components

  • ProductCard: Displays product information in a card format
  • ProductTrendingCard: Specialized card for trending products
  • FeaturedProductsSection: Reusable section for featured products
  • ProductCarousel: Image carousel for product galleries
  • ProductFilters: Filtering and sorting controls
  • Topbar: Navigation and search bar
  • Footer: Site footer

API Integration

The project uses the DummyJSON API for product data:

  • Product listing: https://dummyjson.com/products
  • Product details: https://dummyjson.com/products/{id}
  • Category-based products: https://dummyjson.com/products/category/{category}

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Acknowledgments

Top categories

Loading Svelte Themes