Nextjs Woocommerce

screenshot of Nextjs Woocommerce
framer
nextjs
react
styled-components
tailwind

Next.js (React) headless eCommerce site with Typescript, WordPress (WooCommerce) backend and Algolia search

Overview

The Next.js Ecommerce site with WooCommerce backend is a web application that allows users to create an ecommerce website using Next.js and WooCommerce. It provides various features such as listing products, cart handling, checkout, Algolia search, responsiveness, and more. The application has been tested with specific versions of WordPress, WooCommerce, WP GraphQL, and WooGraphQL.

Features

  • Next.js version 13.4.7 with React 18 and TypeScript
  • Integration with WooCommerce GraphQL API to list product name, price, and display image
  • Support for simple and variable products
  • Cart handling and checkout with WooCommerce (Cash On Delivery only)
  • Algolia search integration (requires algolia-woo-indexer)
  • Meets WCAG accessibility standards where possible
  • Placeholder for products without images
  • Apollo Client with GraphQL
  • React Hook Form for form validation
  • Animations with Framer Motion, Styled Components, and Animate.css
  • Loading spinner created with Styled Components
  • Shows page load progress with Nprogress during navigation
  • Fully responsive design
  • Category and product listings
  • Show stock status
  • Pretty URLs with built-in Next.js functionality
framer
Framer

With Framer, you get a complete set of tools to design, ship, host, and maintain stunning websites for your clients. Take on any project confidently, knowing you can deliver high-quality work quickly.

nextjs
Next.js

Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

styled-components
Styled Components

Styled Components is a popular library for styling React components using CSS syntax. It allows you to write CSS in your JavaScript code, making it easier to create dynamic styles that are specific to each component.

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

ecommerce
Ecommerce

Ecommerce websites sell products or services to customers through an online storefront. These websites typically include features such as product listings, shopping carts, payment processing, and order management tools.

algolia
Algolia

Algolia is a search engine API that enables developers to integrate lightning-fast search functionality into their websites and applications. It features extensive documentation, powerful query options, and a user-friendly dashboard for managing and monitoring search performance.

apollo
Apollo

Apollo is an open-source platform for building GraphQL APIs that connects with any data source. It provides a powerful set of tools and features for developers, including client and server-side caching, real-time data synchronization, and a seamless integration with popular frontend frameworks.

Formspree

A website that uses Formspree for form management to enable seamless form submissions and handling. This includes features such as email notifications, custom form handling, and spam protection to ensure a smooth and secure form submission process.

framer-motion
Framer Motion

Alpine.js is a lightweight JavaScript framework that simplifies the process of creating dynamic, reactive user interfaces on the web. It uses a declarative syntax that offers a higher level of abstraction compared to vanilla JavaScript, while being more performant and easier to use than jQuery.

graphql
Graphql

A website that uses GraphQL as a query language to manage data fetching and state management. This includes features such as a strongly typed schema, client-side caching, and declarative data fetching to streamline data management and optimize website performance.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

Zustand

Zustand is a lightweight state management library for React that provides a simple and intuitive API for managing state in your application. It allows developers to easily create and manage global state, and provides a powerful set of tools for optimizing performance and improving developer productivity. Zustand is designed to be easy to use and easy to learn, making it a popular choice for developers of all skill levels.