Skip to content

invertase/karas-coffee

 
 

Repository files navigation

Firebase Extensions Demo

A demo ecommerce application showcasing Firebase Extensions and other Firebase products.

To learn more about this project see the documentation or the video below:

Build your retail app with Firebase extensions


Project structure

  • /website
    • Source for the React web application.
  • /functions
    • Source for Firebase Cloud Functions used by this project.
  • /tools
    • Scripts/tools such as Stripe product importing and Cloud Firestore rules.

Local development

yarn

Running locally

yarn dev

Deploying to Firebase Hosting

yarn deploy

Importing product data into Stripe

cd tools
yarn stripe:import-products

Note: this script requires you create a tools/.env file with your STRIPE_SECRET_KEY set in it.

Deploy Firestore rules

cd tools
yarn firebase:deploy-firestore-rules

Technologies Used

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.7%
  • JavaScript 3.6%
  • Other 0.7%