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

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

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

![GitHub commit activity](https://img.shields.io/github/commit-activity/t/chrismuntean/Gumroad-Clone)
![GitHub License](https://img.shields.io/github/license/chrismuntean/Gumroad-Clone)
![GitHub branch check runs](https://img.shields.io/github/check-runs/chrismuntean/Gumroad-Clone/main)

## 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!