Overview
This article discusses building an e-commerce website using NextJS, Sanity, and the Stripe payment gateway. It provides a quick overview of the setup and running process, including downloading or cloning the project, creating a .env file, and building and running the project locally.
Features
- Built with NextJS, Sanity, and the Stripe payment gateway.
- Easy installation and setup process.
- Includes features such as a homepage, product page, cart, and payment page.
Installation
- Download or clone the project.
- Create a .env file from the .env.example file.
- Obtain the following tokens and keys:
- Sanity Token
- Stripe Publishable Key
- Stripe Secret Key
- Build and run the project by following these steps:
- First, run the development server.
- Open http://localhost:3000 in your browser to see the result.
Summary
This article provides a step-by-step guide on how to build an e-commerce website using NextJS, Sanity, and the Stripe payment gateway. It outlines the key features of the project and provides an installation guide for setting up the website locally.