Skip to content

A simple e-commerce site used to demonstrate integration of Snipcart with a Next.js application.

Notifications You must be signed in to change notification settings

pizzapup/demo-site-next-snipcart

Repository files navigation

Snipcart Store

Table of Contents

About

A simple e-commerce site used to demonstrate integration of Snipcart with a Next.js application. Because of the simplicity of the project, the site is not deployed to any hosting services. Preview images of the site can be viewed in the README.md Pages section of this file.

Features/Tools

Next.js

Check out the Next.js Docs

Next.js is a react framework used to create full-stack web applications by extending the latest React features and integrating powerful Rust-based JavaScript tooling.

Snipcart

Check out the Snipcart Docs

HTML/JavaScript shopping cart platform used to add custom e-commerce to sites/applications. RESTful API, JS API, and webhooks.

Pages

To keep the application simple the app only contains a main page displaying products, a cart page ("modal"-like component that slides over the page), and a checkout page that features a multi-step form.

Product Gallery

The product gallery displays all available products. Products are dynamically displayed. Data provided with a JSON file. products gallery

Cart

Adding an item or clicking on the cart icon triggers the cart modal. The cart displays items added for purchase, the item quantity, dollar amount per item, and the total amount of all items.

cart

Checkout

The checkout page integrates snipcart e-commerce API. checkout

The checkout page uses built-in form validation. The image below is screenshot of the Billing form step displaying errors for missing information - preventing the user from proceeding to the next step (Shipping). checkout validation

About

A simple e-commerce site used to demonstrate integration of Snipcart with a Next.js application.

Topics

Resources

Stars

Watchers

Forks