NextJS E-commerce starter kit with Sanity.io and Stripe API 🛍

Overview

🛍 Next.js Sanity E-commerce Starter Kit

A Next.js E-commerce app with Sanity.io and Stripe API. Built with TailwindCSS framework & SASS CSS extension.

Demo live at: nextjs-sanity-ecommerce-loq24.vercel.app

You may use 4242 4242 4242 4242 as card number when paying and future MM/YY value and arbitrary CVC value

Run the app locally

To run this app locally, you need to have Sanity.io and Stripe accounts.

Setting up Sanity

  • Head over to the Sanity.io's getting started page and generate a blank template
  • Copy the schema files located in sanity/schemas from this project to your sanity project's schemas directory
  • Make sure to replace the client configuration found under src/lib/sanity/client.ts with your own Sanity project

Setting up Stripe

  • Create a Stripe account
  • Make sure to enable Test mode first
  • Submit basic account details to enable test mode payment

Environment Variables

It is important to provide the following environment variables in order for this project to run properly locally

SANITY_PROJECT_TOKEN - Found under https://www.sanity.io/manage then select your project and then go to API -> Tokens

NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY - This can be found in your Stripe's dashboard

STRIPE_SECRET_KEY - This can be found in your Stripe's dashboard

You might also like...

⏪ Rewinds – Remix Tailwind Starter Kit with Tailwind CSS, Headless UI, Radix UI, and more

⏪ Rewinds – Remix Tailwind Starter Kit with Tailwind CSS, Headless UI, Radix UI, and more

⏪ Rewinds – Remix Tailwind Starter Kit Rewinds is a Remix starter kit with Tailwind CSS v3 family of libraries. This is an example demo to combine the

Dec 24, 2022

This is a starter templete for svelte kit and maplibre.

This is a starter template for maplibre and svelte Clone this application by running git clone https://github.com/Thuhaa/svelte-maplibre-starter.git A

Nov 28, 2022

Minimal, SEO-focused website starter kit powered by Notion, GitHub, and Vercel.

Minimal, SEO-focused website starter kit powered by Notion, GitHub, and Vercel.

wr8 wr8 lets you create a website in Notion with better SEO. It is a customized version of nextjs-notion-starter-kit, based on NotionX. Introduction T

Dec 22, 2022

Fully dockered starter kit for Elm with Hasura

elm-hasura-dockered This repo contains a Elm-Hasura starter kit for rapid+typesafe web application development on open source foundations. Elm is grea

Dec 9, 2022

This repository serves as a starter kit for doing simple TDD exercise

This repository serves as a starter kit for doing simple TDD exercise

Feb 19, 2022

A starter kit for beginners to obsidian

A starter kit for beginners to obsidian

This is a starter kit for beginners to obsidian. It is a simplified version of my vault with my daily and weekly note templates, the folder structure for my periodic notes (daily, weekly, monthly etc) and the plugin settings I use.

Dec 21, 2022

Node starter kit for semantic-search. Uses Mighty Inference Server with Qdrant vector search.

Node starter kit for semantic-search.  Uses Mighty Inference Server with Qdrant vector search.

Mighty Starter This project provides a complete and working semantic search application, using Mighty Inference Server, Qdrant Vector Search, and an e

Oct 18, 2022

A starter kit for scaffold-eth projects

🧰 scaffold-eth-cli As simple as running this in your terminal: npx scaffold-eth Clones scaffold-eth into the current folder as fast as possible ⚡️ ⁉

Jun 11, 2022

Web Starter Kit - a workflow for multi-device websites

Web Starter Kit - a workflow for multi-device websites

Overview Web Starter Kit is an opinionated boilerplate for web development. Tools for building a great experience across many devices and performance

Dec 31, 2022
Owner
Lougie Quisel
React, React Native & NextJS developer
Lougie Quisel
A wee E-Commerce website powered by Stripe, Auth0, Strapi and Next.js

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

Simo Edwin 66 Dec 19, 2022
Node-cli-starter - Basic starter kit for building Node CLI applications with TypeScript.

node-cli-starter Minimal starter kit for building Node CLI applications with TypeScript. Getting Started To get started clone repo locally and run npm

Cory Rylan 7 May 17, 2022
Student reviews for OMS courses. Built with NextJS and Typescript. Backed by Sanity CMS. Deployed on Vercel.

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

OMS Tech 27 Dec 3, 2022
nextjs + sanity studio v3 = 💖

Sanity.io and Next.js [main image placeholder] Sanity.io is the platform for structured content. With Sanity.io you can use the open-source, single pa

Sanity 100 Dec 26, 2022
A dashboard for managing orders and inventory for a wordpress e-commerce site which has woo commerce plugin installed

WordPressWooCommerceDashboard - A dashboard for managing orders and inventory for a wordpress e-commerce site which has woo commerce plugin installed. This program provides shipping tracking for Delhivery.

Vikrama Reddy 1 Jan 3, 2022
Minimal E-Commerce Store built with NextJS using Shopify Storefront API

NextJS Shopify Store Minimal E-Commerce Store built with NextJS using Shopify Storefront API Usage: run: npm install && npm run dev OR If you have doc

Omar Magoury 3 Nov 29, 2022
starter kit for interacting with zora api, protocol, and creator toolkit

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

tranqui.eth 40 Oct 20, 2022
Generate Stripe-like API Documentation

Generate Stripe-like API Documentation Get Started Today Table of contents Usage Inputs Contributing Licence Usage Start by creating a documentation o

Theneo 12 Sep 15, 2022
A Nextjs e-commerce site with mongodb

A Nextjs starter template on Gitpod This is a Learn Next.js template configured for ephemeral development environments on Gitpod. Next Steps Click the

Padmashree Jha 7 Oct 22, 2022
Remix starter kit with Tailwind CSS family of libraries: Headless UI, Radix UI, VechaiUI, daisyUI, and more

Remix Tailwind Starter Kit Remix starter kit with Tailwind CSS v3 family of libraries. Example demo to combine the best Tailwind-related ecosystem suc

M Haidar Hanif 80 Dec 18, 2022