An open API service indexing awesome lists of open source software.

https://github.com/ryomendev/shopstripe-sample

CartStripe Sample - A sample project demonstrating seamless cart and Stripe payment integration in a web application. Ideal for beginners and developers exploring e-commerce functionalities using React, Node.js, and Stripe API.
https://github.com/ryomendev/shopstripe-sample

controller development-environment env express integration model nodejs react stripe

Last synced: 7 days ago
JSON representation

CartStripe Sample - A sample project demonstrating seamless cart and Stripe payment integration in a web application. Ideal for beginners and developers exploring e-commerce functionalities using React, Node.js, and Stripe API.

Awesome Lists containing this project

README

          

# CartStripe Sample

A demo project showcasing cart management and Stripe payment integration in a React + Node.js application. This project is designed as a learning resource for developers exploring e-commerce workflows and payment gateway implementations.

## Features

- Add items to the cart and manage them.
- Checkout process using Stripe's payment gateway.
- Simplified and modular code for easy understanding.

## Tech Stack

- **Frontend:** React
- **Backend:** Node.js, Express
- **Payment Integration:** Stripe API

## Getting Started

**1. Clone the repository:**
```
git clone https://github.com/RyomenDev/ShopStripe-Sample.git
```

**2. Install dependencies:**
```
cd client
npm install
cd ../server
npm install
```

**3. Set up environment variables in .env:**
```
STRIPE_SECRET_KEY(PK,SK):
Server_URL:
client_URL:
Datebase_url:
Port:
```

**4Run the development servers:**
```
In the client folder
npm run dev
In the server folder
npm start
```