Gumroad Clone | Production Site
Begin by cloning the repository to your local machine and pushing to your own repository:
git clone https://github.com/chrismuntean/Gumroad-Clone.gitFormat for .env file
SQUARE_ACCESS_TOKEN=<YOUR_SQUARE_ACCESS_TOKEN>
SQUARE_LOCATION_ID=<YOUR_SQUARE_LOCATION_ID>Configure firebase-init.js with your own details
const firebaseConfig = {
apiKey: "<YOUR_API_KEY>",
authDomain: "<YOUR_AUTH_DOMAIN>",
projectId: "<YOUR_PROJECT_ID>",
storageBucket: "<YOUR_STORAGE_BUCKET>",
messagingSenderId: "<YOUR_MESSAGING_SENDER_ID>",
appId: "<YOUR_APP_ID>",
measurementId: "<YOUR_MEASUREMENT_ID>"
};TIPS:
- Sign up as a developer with Square to get a access token and location ID at developer.squareup.com
- Get your Firebase configuration information at console.firebase.google.com
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.