Store is a personal project where I built a modern, fully responsive e-commerce front-end based on a Figma design. The application is developed using Next.js 14 App Router, TypeScript, Tailwind CSS, Redux, Framer Motion, and ShadCN UI, providing a scalable and optimized solution that follows industry best practices.
This project showcases how I transformed a Figma design into a production-ready Next.js application. It emphasizes performance optimization, SEO best practices, and accessibility, making it a strong foundation for modern e-commerce front-end applications.
Check out the live demo: Store Demo
- Next.js 14: Server-side rendering (SSR), Static Site Generation (SSG), optimized routing, and API integrations.
- TypeScript: Strongly typed code for better error detection and maintainability.
- Tailwind CSS: Utility-first CSS framework for rapid UI development.
- Redux: State management for managing the shopping cart and global states.
- Framer Motion: Smooth animations and transitions for an enhanced user experience.
- ShadCN UI: Beautifully styled, accessible, and customizable UI components.
- Fully Responsive: Mobile-first design ensuring the layout adapts across devices.
- Performance Optimized: Best practices followed for fast loading and interaction.
- Accessible: Built with accessibility standards to provide an inclusive experience.
- Next.js 14
- TypeScript
- Tailwind CSS
- Redux
- Framer Motion
- ShadCN UI
- Figma
To get started locally, follow these steps:
-
Clone the repository:
git clone https://github.com/YOUR_USERNAME/nextjs-ecommerce.git cd nextjs-ecommerce -
Install dependencies:
npm install
yarn install
-
Run the development server:
npm run dev
yarn dev
-
Open in your browser: Navigate to http://localhost:3000 to view the app.
- To explore or modify the code, navigate through the
components,features, andappdirectories. - The shopping cart logic is managed using Redux. You can find the store configuration and cart actions in the
src/lib/featuresdirectory. - ShadCN UI components are used across the app. They can be customized in the
src/components/uidirectory. - You can easily modify and extend the project to suit your needs, whether for personal use or professional projects.
Store/
│
├── public/ # Static assets
├── src/
│ ├── app/ # Next.js App Router
│ ├── components/ # Reusable components (including ShadCN UI components)
│ └── lib/
│ ├── features/ # The Redux logics for features (e.g., shopping cart)
│ ├── hooks/ # Custom React hooks
│ ├── store.ts # Redux store
│ ├── utils.ts # Utility functions
│ ├── styles/ # Tailwind CSS styles (global, utilities and fonts)
│ ├── types/ # TypeScript types
│
├── components.json # ShadCN UI configuration
├── next.config.mjs # Next.js configuration
├── package.json # Node.js dependencies and scripts
├── postcss.config.mjs # Post CSS configuration
└── README.md # Project documentation
├── tailwind.config.js # Tailwind CSS configuration
├── tsconfig.json # TypeScript configurationFeel free to reach out to:
- Name: Muhammad Faizan
- Email: faizan.devstack@gmail.com
- GitHub: https://github.com/faizan-devstack