Overview
The E-commerce Sanity Stripe is an E-commerce application built with Sanity, Next.js, and Stripe. It is currently a work in progress and not yet complete.
Features
- Built with Sanity, Next.js, and Stripe
- Integration with Stripe API for payment processing
- Ability to create and manage products using Sanity Studio
- Local installation and setup for development
Installation
To run this project locally, you can follow these steps:
- Clone this repository and navigate to the project directory:
git clone [repository-url]
cd [project-directory]
- Install all dependencies:
npm install
- Navigate to the sanity-ecommerce folder and install Sanity dependencies:
cd sanity-ecommerce
npm install
- Create a
.env.localfile in the root directory and add the following:
NEXT_PUBLIC_SANITY_TOKEN=[your-sanity-token]
- Start the Next.js development server:
npm run dev
- Open a new terminal tab, navigate to the sanity-ecommerce folder, and start Sanity Studio:
cd sanity-ecommerce
npm run dev
- Access the application at
http://localhost:3000and Sanity Studio athttp://localhost:3333
Summary
The E-commerce Sanity Stripe is an E-commerce application that utilizes Sanity, Next.js, and Stripe for building and managing an online store. It provides integration with the Stripe API for seamless payment processing and allows users to create and manage products using the Sanity Studio. The installation process involves cloning the repository, installing dependencies, and setting up the local development environment. Remember to create a .env.local file with the necessary configurations.