https://github.com/firebaseextended/karas-coffee
https://github.com/firebaseextended/karas-coffee
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/firebaseextended/karas-coffee
- Owner: FirebaseExtended
- License: apache-2.0
- Created: 2021-10-28T14:13:06.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-21T20:10:27.000Z (about 1 year ago)
- Last Synced: 2025-06-19T23:04:52.433Z (10 months ago)
- Language: TypeScript
- Homepage: https://karas-coffee.web.app/
- Size: 1.02 MB
- Stars: 178
- Watchers: 15
- Forks: 39
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
## Firebase Extensions Demo
A demo ecommerce application showcasing Firebase Extensions and other Firebase products.
To learn more about this project [see the documentation](/docs) or the video below:
[](https://www.youtube.com/watch?v=nhCbAezbiQ8)
----
### Project structure
- [/website](/website)
- Source for the React web application.
- [/functions](/functions)
- Source for Firebase Cloud Functions used by this project.
- [/tools](/tools)
- Scripts/tools such as Stripe product importing and Cloud Firestore rules.
----
### Local development
```bash
yarn
```
#### Running locally
```bash
yarn dev
```
#### Deploying to Firebase Hosting
```bash
yarn deploy
```
#### Importing product data into Stripe
```bash
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
```bash
cd tools
yarn firebase:deploy-firestore-rules
```
----
### Technologies Used
- ️🔥 [Firebase](https://firebase.google.com/)
- 🔑 [Firebase Authentication](https://firebase.google.com/docs/auth)
- 📄 [Cloud Firestore](https://firebase.google.com/docs/firestore)
- 🌍 [Firebase Hosting](https://firebase.google.com/docs/hosting)
- 🧩 [Firebase Extensions](https://firebase.google.com/docs/extensions)
- See the [docs](https://github.com/FirebaseExtended/karas-coffee/blob/main/docs) to learn about the Firebase Extensions used in this project.
- 💳 [Stripe Checkout](https://stripe.com/docs/payments/checkout)
- Checkout creates a secure, Stripe-hosted payment page that lets you collect payments quickly.
- 📦 [ShipEngine](https://www.shipengine.com/)
- ShipEngine’s APIs help brands, ecommerce platforms, 3PLs and others save time and money on shipping.
- 🔍 [Algolia Search](https://www.algolia.com/products/search-and-discovery/hosted-search-api/)
- Enables developers to build next generation apps with composable APIs.
- ⚛️ [React](https://reactjs.org/)
- A JavaScript library for building user interfaces.
- ⚡️ [Vite](https://vitejs.dev/)
- Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects.