DhiBasket
A Flutter Application, Built with ❤️ from DhiWise
This is a Grocery Application built with Flutter.
It uses Webflow CMS to store and retrieve data.
System Requirements
Dart SDK Version 2.17.0 or greater.
Flutter SDK Version 3.0.0 or greater.
Figma Design
https://www.figma.com/file/4DOiNZZRRW94zAiQ9LMW3h/SG-grocery?node-id=0%3A1
Webflow CMS Collections
- Addresses
- Users
- Wishlists
- Products
- Categories
- Cart
Application Screens
Application Features
- SignUp and SignIn with Email and Password
- SignUp and SignIn with Google
- SignUp and SignIn with Facebook
- Listing of Categories
- Listing of Products
- Product details
- Add products to Cart
- Add products to Wishlist
- Add new Address and Show list of Addresses
- Profile of the User
- Static screens like privacy policy and terms of services.
Third party packages Used
- flutter_login_facebook
- firebase_auth
- google_sign_in
- flutter_facebook_auth
Run the application.
- This app has firebase google/facebook and email – SignUp and SignIn. Thus, you need to add following files to run the application
- google-services.json
- facebook_app_id and token in strings.xml
- firebase_app_id_file.json for ios
- GoogleService-Info.plist for ios
-
Install flutterfire from Here.
-
Use
flutterfire configure
to generate firebase_options.dart file.
- you can find these files in your firebase console and project setting.
-
You need to create one constants.dart inside lib/core/constants to store webflow token and CollectionIds to call the APIs.
-
Flutter pub get
-
Flutter run
Folder Structure
├── android - contains files and folders required for running the application on an Android operating system.
├── assets - contains all images and fonts of your application.
├── ios - contains files required by the application to run the dart code on iOS platforms.
├── lib - Most important folder in the project, used to write most of the dart code.
├── main.dart - starting point of the application
├── core
│ ├── app_export.dart - contains commonly used file imports
│ ├── constants - contains all constants classes
│ ├── errors - contains error handling classes
│ ├── network - contains network related classes
│ └── utils - contains common files and utilities of project
├── data
│ ├── apiClient - contains api calling methods
│ ├── models - contains request/response models
│ └── repository - network repository
├── localization - contains localization classes
├── presentation - contains all screens and screen controllers
│ └── screens - contains all screens
├── routes - contains all the routes of application
└── theme - contains app theme and decoration classes
MIT License
Copyright (c) 2022 DhiWise
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.