Skip to content

yogenpoonudurai/web-sanity-ecommerce

Repository files navigation

This is a sample an Ecommerce project using Sanity.io + Stripe.

How to start Sanity Studio?

  1. Install @sanity/cli.
  2. cd into studio folder. Copy the .env.example and rename to .env.development. Insert Sanity.io projectID and dataset.
  3. run yarn
  4. run sanity start to start the studio.

How to start the NextJS project?

  1. Copy the .env.example and rename to .env.local. Insert Sanity.io projectID and dataset and the API token.
  2. run pnpm install to install the npm packages
  3. run pnpm dev to start the project.

About

A test project using Sanity.io CMS, Stripe and NextJs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published