Search packages, repositories and app categories

GitHub repositoryShehanUdantha/clean_architecture_digital_marketplace

clean_architecture_digital_marketplace

Develop an E-Commerce app in Flutter with clean architecture using Bloc, Firebase and the Stripe.

clean_architecture_digital_marketplace project cover
Stars
117
Forks
17
Last push (UTC)
Oct 19, 2025
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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 author

Shehan Udantha ↗

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

Gampaha, Sri LankaOfficial website ↗
LanguagesDartC++CMakeRubySwiftHTMLCKotlinObjective-C

Categories

Dependencies used

Dependency list 42 items

Rankings

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

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

GitHub Docs — About repositories ↗