使用Flutter和Firebase的電子商務應用
這是一個完整的 Flutter-Firebase 移動應用程式,具備電商移動應用應有的所有功能。
- 星標
- 313
- 分支
- 84
- 最近推送(UTC)
- 2022年8月23日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
E-commerce app using Flutter and Firebase
Flutter app for client's ecommerce bussiness.
Getting Started
It is an complete e-commerce mobile app which is designed using flutter. It uses firebase as a backend for CRUD operations.
Tool Used
- Flutter
- Firebase
Steps to reproduce the project in your environment
- Download and setup the flutter SDK
- Install flutter plugin in your editor(preferably Android Studio).
- Create your own firebase project and make sure that package name in firebase app should be same as application id which is in android gradle file.
- Download google-service.json file and paste inside /android/app directory.
- Run flutter get/ pub get for getting dependencies.
- Press run button in Android studio to install the apk
- The project will now be running in your device.
Steps to write sample products data in firebase
- For product images, drop down all the images from assets/mock_images folder to the firebase storage without creating any folder structure inside firebase storage.
- For product data, make following changes in main.dart file
initialRoute:'/admin',
- Hot reload your app. After this, click on button to write product data in firebase cloud firestore.
Features of this flutter app
-
Home
- Main Products Carousel
- Featured products carousel
- Products Grid view
-
Products
- Products List view
- Products Details view
- Color picker
- Size picker (optional)
- Share to Messenger, Whatsapp, Wechat, Twitter, E-mail, Copy Link, etc.
- Wishlist
-
Shopping Cart
- Add to Cart functionality
- Remove from Cart
- Edit Shopping Cart
- Order History
- Reorder functionality
-
Checkout Experience
- Shopping Cart
- Shipping Address
- Shipping Methods
- Payment Methods
- Add New Card
- Place Order
-
Customer Profile
- Account details
- Edit Profile Details
- Setting
- Contact us
-
Customer Management
- Registration with Email & Password
- Login with E-mail & Password
- Google Sign In (Left to achieve)
- Logout
-
Backend
- Database system with Firebase Firestore
- User management with Firebase Authentication
語言DartKotlinSwiftObjective-C
使用的依賴
依賴清單 25 項
- flutter
{"sdk":"flutter"} - firebase
^8.0.0 - firebase_auth
^0.18.4+1 - cloud_firestore
^0.14.4 - firebase_storage
^5.2.0 - csv
^4.0.3 - path_provider
^1.6.7 - faker
^1.2.1 - flutter_secure_storage
^3.3.3 - flutter_spinkit
^4.1.2+1 - carousel_pro
^1.0.0 - font_awesome_flutter
^8.8.1 - modal_bottom_sheet
^0.1.5 - sliver_glue
^1.2.0 - expandable
^4.1.4 - flutter_credit_card
^0.1.3 - image_downloader
^0.20.0 - timeago
^2.0.26 - shared_preferences
^0.5.8 - device_preview
^0.4.7 - jwt_decode
^0.3.1 - connectivity
^3.0.3 - get
^4.1.4 - cupertino_icons
^0.1.2 - flutter_test開發依賴
{"sdk":"flutter"}
所在榜單
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗