Simple E-commerce web app made with Flutter, using Firebase and Stripe as Backend.
QuickCart for Web (Recommended)
- Make sure to install Flutter first:
- Clone/download the files to your computer:
git clone https://github.com/melmatx/quickcart.git
- Go to the directory of this project on your local computer:
cd quickcart
- Get all dependencies for this project:
flutter pub get
- Run the flutter app. Make sure you have your Android or iOS Simulator open:
flutter run
- Create a new project in Firebase.
- Connect the app to the project using the Flutter option when adding an app.
- Create a new collection named categories in your Firestore Database.
- Add a new document in this collection with these fields (for each categories):
- Document ID: Auto-ID
| Field | Type | Value |
|---|---|---|
| id | string | any unique id |
| image | string | category image link (Ex: https://www.lg.com/ph/images/monitors/md07562694/D1.jpg) |
| name | string | category name |
- Now, make another collection inside this document named products.
- Add a new document (for each products) with these fields:
- Document ID: Auto-ID
| Field | Type | Value |
|---|---|---|
| id | string | any unique id |
| image | string | product image link |
| name | string | product name |
| description | string | product description |
| price | number | product price |
Done! The products you inserted should now appear in the app.