搜索插件、代码仓与 APP 分类

GitHub 代码仓ShehanUdantha/clean_architecture_digital_marketplace

clean_architecture_digital_marketplace

使用 Bloc、Firebase 和 Stripe 在 Flutter 中开发一个采用干净架构的电子商务应用。

clean_architecture_digital_marketplace 项目封面
星标
117
复刻
17
最近推送(UTC)
2025年10月19日
项目状态
未归档

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

Clean Architecture Flutter E-Commerce App

Project Setup

Before you run the project, make sure to follow the steps below to properly set up the environment, generate necessary files, and run the tests.

1. Setup the .env file

You need to set up the .env file in the root directory of the project with your environment-specific variables.

Example:

Create a .env file in the root directory and include the following keys (replace with your values):

STRIPE_TEST_PUBLISHABLE_KEY=your_publishable_key


STRIPE_TEST_SECRET_KEY=your_secret_key

2. Generate Required Files

Run the following command to generate the necessary files (e.g., mocks, code related to the environment variables):

dart run build_runner build

3. (Optional) Configure Firebase Service Account for Push Notifications

If you wish to enable push notifications, you need to configure the 'firebaseServiceAccountJson' used in the project.

All setup instructions are included directly in the file:

core/constants/firebase_values.dart

Make sure to follow the comments inside that file to generate and insert your Firebase service account values correctly.


Features

User View

  • View Products
  • Search Products
  • Add Products to Cart
  • Purchase Products
  • Add to Favorites
  • View Purchase History
  • Download Purchased Products
  • View Notifications
  • Change Theme
  • Change Language

Admin View

  • Access Admin Dashboard
  • Manage Products
  • Manage Categories
  • Manage Users
  • Manage Notifications
  • Change Theme
  • Change Language

Screenshots

Auth View

User View

Admin View


All product images used in this app are for educational purposes only.

Shehan Udantha GitHub avatar
GitHub 作者

Shehan Udantha ↗

I'm a passionate Software Engineering graduate with a strong focus on mobile application and front-end web development.

Gampaha, Sri Lanka官方网站 ↗
语言DartC++CMakeRubySwiftHTMLCKotlinObjective-C

分类

使用的依赖

依赖清单 42 项

所在榜单

如何选择适合项目的代码仓?

先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。

  1. 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
  2. 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
  3. 使用前在 GitHub 核对 README、许可证与 Issues。

来源与维护

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗