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.
- Host: GitHub
- URL: https://github.com/ryomendev/shopstripe-sample
- Owner: RyomenDev
- Created: 2025-01-09T09:21:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-09T09:34:46.000Z (over 1 year ago)
- Last Synced: 2025-03-17T05:32:48.301Z (about 1 year ago)
- Topics: controller, development-environment, env, express, integration, model, nodejs, react, stripe
- Language: JavaScript
- Homepage:
- Size: 98.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readMe.md
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
```