https://github.com/chrismuntean/gumroad-clone
Simple clone of Gumroad utilizing Square's checkout API, Firebase Authentication, Firestore Database, and Clouflare Zero Trust for securing the admin panel. Fully serverless hosted on Cloudflare Pages & Workers to save myself the 10% commission Gumroad takes
https://github.com/chrismuntean/gumroad-clone
bootstrap bootstrap5 cloudflare-pages cloudflare-workers firebase-authentication firestore-database gumroad-alternative serverless square-api
Last synced: 4 months ago
JSON representation
Simple clone of Gumroad utilizing Square's checkout API, Firebase Authentication, Firestore Database, and Clouflare Zero Trust for securing the admin panel. Fully serverless hosted on Cloudflare Pages & Workers to save myself the 10% commission Gumroad takes
- Host: GitHub
- URL: https://github.com/chrismuntean/gumroad-clone
- Owner: chrismuntean
- Created: 2025-02-18T09:24:24.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-05-04T14:53:59.000Z (6 months ago)
- Last Synced: 2025-05-04T15:36:32.242Z (6 months ago)
- Topics: bootstrap, bootstrap5, cloudflare-pages, cloudflare-workers, firebase-authentication, firestore-database, gumroad-alternative, serverless, square-api
- Language: CSS
- Homepage: https://photos.chrismuntean.dev
- Size: 17.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gumroad Clone | [Production Site](https://photos.chrismuntean.dev/)
### Simple clone of Gumroad utilizing Square's checkout API, Firebase Authentication, Firestore Database, and Clouflare Zero Trust for securing the admin panel. Fully serverless hosted on Cloudflare Pages & Workers to save myself the 10% commission Gumroad takes



## Deployment
Begin by cloning the repository to your local machine and pushing to your own repository:
```bash
git clone https://github.com/chrismuntean/Gumroad-Clone.git
```
### Configure environment variables
Format for `.env` file
```bash
SQUARE_ACCESS_TOKEN=
SQUARE_LOCATION_ID=
```
Configure `firebase-init.js` with your own details
```bash
const firebaseConfig = {
apiKey: "",
authDomain: "",
projectId: "",
storageBucket: "",
messagingSenderId: "",
appId: "",
measurementId: ""
};
```
**TIPS:**
* Sign up as a developer with Square to get a access token and location ID at [developer.squareup.com](https://developer.squareup.com)
* Get your Firebase configuration information at [console.firebase.google.com](https://console.firebase.google.com)
### Connect with Cloudflare Pages
To deploy easily with Cloudflare connect Cloudflare to your GitHub account and deploy the main branch. And configure your environment variables manually in the dashboard.
# I'll finish this documentation later if I remember, sorry if I don't!