clean_architecture_digital_marketplace
Desenvolva um aplicativo de comércio eletrônico no Flutter com arquitetura limpa usando Bloc, Firebase e Stripe.
- Estrelas
- 117
- Forks
- 17
- Último push (UTC)
- 19 de out. de 2025
- Status do projeto
- Ativo
README original
Texto original em inglês. Visite o GitHub para a versão atual.
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.
Categorias
Dependências usadas
Lista de dependências 42 itens
- cached_network_image
^3.4.0 - connectivity_plus
^6.0.5 - cupertino_icons
^1.0.8 - dartz
^0.10.1 - equatable
^2.0.5 - file_picker
^8.1.7 - cloud_firestore
^5.4.0 - firebase_auth
^5.2.0 - firebase_core
^3.4.0 - firebase_storage
^12.2.0 - firebase_messaging
^15.1.0 - firebase_crashlytics
^4.1.0 - flutter
{"sdk":"flutter"} - flutter_bloc
^9.0.0 - flutter_stripe
^11.3.0 - get_it
^8.0.3 - go_router
^14.2.7 - http
^1.2.2 - iconsax
^0.0.8 - intl
^0.20.2 - uuid
^4.5.0 - permission_handler
^11.3.1 - like_button
^2.0.5 - flutter_local_notifications
^18.0.1 - googleapis
^13.2.0 - googleapis_auth
^1.6.0 - hive
^2.2.3 - path_provider
^2.1.4 - timeago
^3.7.0 - shared_preferences
^2.3.2 - fl_chart
^1.0.0 - envied
^1.0.0 - flutter_localizations
{"sdk":"flutter"} - flutter_lintsDesenvolvimento
^5.0.0 - mockitoDesenvolvimento
^5.4.4 - build_runnerDesenvolvimento
^2.4.13 - flutter_testDesenvolvimento
{"sdk":"flutter"} - envied_generatorDesenvolvimento
^1.0.1 - bloc_testDesenvolvimento
^10.0.0 - fake_cloud_firestoreDesenvolvimento
^3.1.0 - firebase_storage_mocksDesenvolvimento
^0.7.0 - mock_exceptionsDesenvolvimento
^0.8.2
Rankings
Como escolher um repositório para seu projeto?
Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.
- Busque por nome, autor ou descrição e filtre por tema.
- Compare estrelas, forks e envios recentes. Estrelas indicam interesse, mas não garantem qualidade.
- Confira o README, a licença e as issues no GitHub antes de usar o projeto.
Fontes e manutenção
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗