A high-performance, server-rendered Next.js 15 App Router ecommerce application.
This project uses React Server Components, Server Actions, Suspense, useOptimistic, and more.
- Next.js App Router
- Optimized for SEO using Next.js's Metadata
- React Server Components (RSCs) and Suspense for improved performance
- Server Actions for mutations
- Edge Runtime for faster rendering
- New fetching and caching paradigms
- Dynamic OG Images
- Styling with Tailwind CSS
- Automatic light/dark mode based on system settings
- Comprehensive test suite using Vitest to ensure code quality and reliability
app
: Contains the main application code, including pages, components, and layouts.components
: Reusable UI components, including layout components, product components, and more.lib
: Utility functions and constants used throughout the application.pages
: Next.js pages, including the homepage, product pages, and more.
ProductGrid
: A reusable component for displaying product grids.ProductDescription
: A component for displaying product descriptions.FilterList
: A component for displaying filter lists.Navbar
: A component for displaying the navigation bar.
- Tailwind CSS is used for styling, with a custom configuration file (
tailwind.config.js
). - Automatic light/dark mode is enabled based on system settings.
To get started with the application, follow these steps:
- Clone the repository:
git clone https://github.com/armanabkar/fashion-commerce.git
- Install dependencies:
npm install
- Start the application:
npm run dev
To contribute to the project, follow these steps:
- Fork the repository:
git fork https://github.com/your-username/your-repo-name.git
- Make changes:
git add .
andgit commit -m "your commit message"
- Submit a pull request:
git push origin your-branch-name
The project is released under the MIT license.