https://github.com/streamr-dev/streamrtv-stripe-demo
https://github.com/streamr-dev/streamrtv-stripe-demo
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/streamr-dev/streamrtv-stripe-demo
- Owner: streamr-dev
- Created: 2025-06-09T07:42:19.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-05T13:39:22.000Z (11 months ago)
- Last Synced: 2025-10-20T15:03:05.012Z (8 months ago)
- Language: TypeScript
- Size: 178 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# StreamrTV Stripe Integration Monorepo
A monorepo containing both the frontend (Next.js) and backend (Express) for a Stripe Connect integration demo.
## Structure
- `frontend/` — Next.js 13+ app (creator onboarding, dashboard, payments UI)
- `backend/` — Express + TypeScript API (Stripe payment endpoints)
## Getting Started
### Prerequisites
- Node.js 18+
- npm
- Stripe account & API keys
### Setup
#### Frontend
1. `cd frontend`
2. Install dependencies:
```sh
npm install
```
3. Create `.env.local` in `frontend/` with:
```env
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_...
NEXT_PUBLIC_APP_URL=https://your-app-url
```
4. Run dev server:
```sh
npm run dev
```
#### Backend
1. `cd backend`
2. Install dependencies:
```sh
npm install
```
3. Create `.env` in `backend/` with:
```env
STRIPE_SECRET_KEY=sk_test_...
```
4. Run dev server:
```sh
npm run dev
```
## Project Overview
- `frontend/` — Next.js app for onboarding, dashboard, and payments
- `backend/` — Express API for Stripe payment processing
See each folder's README.md for more details.