-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/giorgioGTelian/ecommerce_fl…
- Loading branch information
Showing
2 changed files
with
110 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
|
||
name: Dart | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
# Note: This workflow uses the latest stable version of the Dart SDK. | ||
# You can specify other versions if desired, see documentation here: | ||
# https://github.com/dart-lang/setup-dart/blob/main/README.md | ||
# - uses: dart-lang/setup-dart@v1 | ||
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603 | ||
|
||
- name: Install dependencies | ||
run: dart pub get | ||
|
||
# Uncomment this step to verify the use of 'dart format' on each commit. | ||
# - name: Verify formatting | ||
# run: dart format --output=none --set-exit-if-changed . | ||
|
||
# Consider passing '--fatal-infos' for slightly stricter analysis. | ||
- name: Analyze project source | ||
run: dart analyze | ||
|
||
# Your project will need to have tests in test/ and a dependency on | ||
# package:test for this step to succeed. Note that Flutter projects will | ||
# want to change this to 'flutter test'. | ||
- name: Run tests | ||
run: dart test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,74 @@ | ||
# food_delivery_dbestech | ||
# food_delivery_ecommerce dart | ||
|
||
A new Flutter project. | ||
## project structure | ||
|
||
## Getting Started | ||
### Home page | ||
|
||
This project is a starting point for a Flutter application. | ||
Home page displays food category. You can click on it and go to new page to view food and add to the cart. | ||
|
||
A few resources to get you started if this is your first Flutter project: | ||
### homepage | ||
|
||
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) | ||
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) | ||
#### Recommended food page | ||
|
||
This page comes from the home page and you can add the item to the cart. The introuduce text about food is collapsible. It also show the product price. And you can add items to the cart. | ||
|
||
### Popular food page | ||
|
||
This page comes from the home page and you can add the item to the cart. The text about food is collapsible. It also show the product price. And you can add items to your shopping cart. | ||
|
||
### Cart page | ||
|
||
In this page you place the order. You can also add or remove the items from the cart. As you add or remove you also see the total price changes. This page is dynamic since it removes and add items on user click. | ||
|
||
### Sign up page | ||
|
||
Sign up using your credential. Once you sign up, the information is submitted to the database and a token for user is generated. This token is used for Authentication. | ||
|
||
The commercial license includes phone number verification. Food commercial license registration UI is bit different. | ||
|
||
Sign in based on your phone number. The account information is matched on the backend using token and your credential. | ||
|
||
You may sign up using third party service like Twilio or Google provider. Either way, we send a verification code the user and then we login. | ||
|
||
### Auth page | ||
|
||
If user makes unauthenticated request you, the app takes you to this page. Submitting order to the backend is always checked. Changing user credential is also checked using Authentication. | ||
|
||
### History page | ||
|
||
You can see this information after you submit order to the backend. From here you will be able(still under development) to monitor your order tracking. | ||
|
||
### Local history page | ||
|
||
Local history page. It saves in the device itself. You can reorder the item you ordered. | ||
|
||
### Update address | ||
|
||
You can update your address here. During registration we don't need to put in the address. Address update during check out. | ||
|
||
### Pick address | ||
|
||
User can pick your address here. This address is dynamic and based on Google map. Google map is a great tool for e-commerce site and delivery products or food. | ||
|
||
### Account page | ||
|
||
Your personal information is here. Here address could be updated. | ||
|
||
### Payment method | ||
|
||
We are going to use paypal as a payment method. Soon we will add stripe and other major payment methods. | ||
|
||
## payment method for e-commerce | ||
|
||
### Paypal login page | ||
|
||
Paypal login page. Here we have used paypal web view sdk for loading paypal pages and gateway | ||
|
||
### Paypal payment confirm page | ||
|
||
Paypal payment confirm page. Here now we are in sandbox mode. Sandbox mode is used for testing. | ||
|
||
### Payment success page | ||
|
||
After payment has been successful, we redirect to payment successful page. It comes from paypal sdk. | ||
|
||
For help getting started with Flutter, view our | ||
[online documentation](https://flutter.dev/docs), which offers tutorials, | ||
samples, guidance on mobile development, and a full API reference. |