Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brownboycodes/HADWIN
a prototype of a fund transfer platform built with flutter
https://github.com/brownboycodes/HADWIN
android android-app dartlang flutter flutter-app fund-transfer-app hadwin ios ios-app opensource opensource-apps prototype
Last synced: 29 days ago
JSON representation
a prototype of a fund transfer platform built with flutter
- Host: GitHub
- URL: https://github.com/brownboycodes/HADWIN
- Owner: brownboycodes
- License: gpl-3.0
- Created: 2021-11-18T07:08:42.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-12T15:54:40.000Z (almost 2 years ago)
- Last Synced: 2024-11-11T09:41:40.622Z (about 1 month ago)
- Topics: android, android-app, dartlang, flutter, flutter-app, fund-transfer-app, hadwin, ios, ios-app, opensource, opensource-apps, prototype
- Language: Dart
- Homepage:
- Size: 19.4 MB
- Stars: 85
- Watchers: 3
- Forks: 66
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- open-source-flutter-apps - HADWIN - a prototype of a fund transfer platform by [Nabhodipta Garai](https://github.com/brownboycodes). (Uncategorized / Uncategorized)
README
[![made with flutter](https://img.shields.io/badge/Flutter-%2302569B.svg?style=for-the-badge&logo=Flutter&logoColor=white)](https://flutter.dev/) [![Dart](https://img.shields.io/badge/dart-%230175C2.svg?style=for-the-badge&logo=dart&logoColor=white)](https://dart.dev/) [![forthebadge](https://forthebadge.com/images/badges/built-for-android.svg)](https://www.android.com/intl/en_in/) [![built for ios](https://img.shields.io/badge/built_for_ios-100000?style=for-the-badge&logo=apple&logoColor=FFFFFF&labelColor=0d1b2a&color=1b263b)](https://developer.apple.com/ios/) [![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/brownboycodes/HADWIN) [![powered by coffee](https://forthebadge.com/images/badges/powered-by-coffee.svg)](https://www.buymeacoffee.com/brownboycodes)
![total line count](https://img.shields.io/tokei/lines/github/brownboycodes/HADWIN?color=bde0fe&label=total%20lines%20of%20code) ![repository size](https://img.shields.io/github/repo-size/brownboycodes/HADWIN?color=pink&label=size%20of%20this%20repository) [![GitHub commits](https://badgen.net/github/commits/brownboycodes/HADWIN)](https://GitHub.com/brownboycodes/HADWIN/commit/) ![last commit](https://badgen.net/github/last-commit/brownboycodes/HADWIN/master) ![pull requests closed](https://img.shields.io/github/issues-pr-closed/brownboycodes/HADWIN.svg) ![issues open](https://img.shields.io/github/issues/brownboycodes/HADWIN.svg) [![GPLv3 license](https://img.shields.io/github/license/brownboycodes/HADWIN?color=f95738&label=License)](https://github.com/brownboycodes/HADWIN/blob/main/LICENSE)
I wanted to make this app with flutter because I was interested in flutter developer roles. I figured out this payment interface is a fundamental and common fragment of almost every app, since almost every app requires some sort of payment/transaction interface to be present, be it a video streaming service like Netflix or Disney+ during signing up for subscription or a social networking platform like facebook or Instagram where an user needs to add their card details for promoting their content to reach more users. I wanted to build something that would cover demonstration of a wide range of skills required for an app developer, like - knowledge of architectural components & design patterns, state management/nested state management with provider, fetching data from servers to demonstrate proficiency with restful API to connect applications to back-end services, building a real time interface, using the Camera API, writing data to local files, custom navigation stack, complex animations, seamlessly incorporating third party packages, pixel-perfect implementation of UI designs (differs only because some improvisations I made), debugging, analysis skills & performance tuning.
### FEATURES
1. Fund Transfer - mock simulation only, a transaction request is made to the server, the server is programmed to respond with 66.666% probability of successfully executing the transaction so as to simulate real world experirence (in the future this probability can increased to 75% or more).
2. Credit Card Validator and Storage - credit card details will be stored locally and not shared with the server, the validator is programmed to recognize cards belonging to American Express, VISA, MasterCard, Discover.
3. Real-Time username availability checker - part of sign up process.NOTE: Since this is a prototype users cannot send or receive real money, or create real accounts, users need to login/register with test data provided here β‘οΈ [https://github.com/brownboycodes/HADWIN/blob/master/docs/HADWIN_WIKI.md](https://github.com/brownboycodes/HADWIN/blob/master/docs/HADWIN_WIKI.md).
Transaction and credit card data will be saved on the users device itself and not shared with the server.
Some custom system utilities built by me :-
1. custom tab navigation stack
2. custom keypad and input field for fund transfer screen
3. custom card flow widget
4. custom transaction receipt generator
5. error alerts
6. search and sort systems for filtering past transactions, contacts and business organiztions
7. local client-side databases
#### Sample user data for testing the app
| NAME | USERNAME | EMAIL ID | PASSWORD | BANK ACCOUNT NUMBER |
|:----------------|:----------------:|:----------------------------------:|:-----------------------:|:-------------------:|
| Mary Kertzmann | mary.kertzmann | [email protected] | deer | 99293629 |
| Rusty Abshire | rusty.abshire | [email protected] | parrot | 19285107
21664761 |
| Dante Vandervort | dante.vandervort | [email protected] | tiger | 67767567
04295132 |
| Damion Jerde | damion.jerde | [email protected] | chicken | 64045463
42203582 |
| Bruce Wayne | the.batman | [email protected] | aSymbol | 47911045
19826115 |
| Tony Stark | iamironman | [email protected] | LoveU3000 | 39753176
61428607 |
| Van Wilder | freeguy | [email protected] | FirstDatesAreInterviews | 40429859
53421343 |
| Van Helsing | logan | [email protected] | ryansUglySweater | 23926044
20166891 |
| Steve Harrington | king_steve | [email protected] | ussButterscotch | 72389857
91515917 |
| Meilin Lee | red.panda | [email protected] | 4town | 50881774
11045853 |
| Diana Prince | wonderwoman | [email protected] | Hippolyta | 30646421
39108502 |
| Selina Kyle | catwoman | [email protected] | notTrustworthy | 27772507
36995137 |
| Natasha Romanoff | blackwidow | [email protected] | daughterOfIvan | 36841177
10783270 |
| Jane Hopper | el | [email protected] | eggo | 76131209
59840666 |
anything else Β [![not a bug](https://forthebadge.com/images/badges/not-a-bug-a-feature.svg)](https://forthebadge.com) [![not an issue](https://forthebadge.com/images/badges/not-an-issue.svg)](https://forthebadge.com) π
---
### WORKFLOW
The flowchart below provides a brief overview of the activities that take place when the app is launched
Post successful user authentication an authorized session would last upto 2 hours.
The login process is quite sophisticated on its own and it might get too overwhelming trying to understand it from reading the code, the flowchart below provides an overview of activities that take place during the login process, perhaps it will clear up the doubts behind the logic
Users are requested to rest assured as no personal data is being saved on the server and if they are still concerned about their privacy users are allowed to test the app with the [mock data](./docs/HADWIN_WIKI.md) only.
[FruitCastle](https://fruitcastle.onrender.com/) ([source code π‘](https://github.com/brownboycodes/FruitCastle)) is a server created using [Python](https://www.python.org/) and [Flask](https://flask.palletsprojects.com/), which hosts the data being used to create simulation for authorizing access to the features to the app and making transactions.
checkout the working demo for android devices :
> HADWIN is yet to be released for iOS devices, anyone releasing an iOS app with the name or user interface same-as/similar-to HADWIN will be met with legal action.
---
### SAMPLE UI πΊ
---
### QUICK START β‘
1. Ensure you have flutter installed on your system (if not click [here](https://docs.flutter.dev/get-started/install)).
2. Fork the repository
3. clone the repository to your local machine```bash
git clone https://github.com/YOUR_GITHUB_USERNAME/HADWIN.git
```4. open the cloned repository
```bash
cd HADWIN
```5. run the following command to install all required dependencies
```bash
flutter pub get
```6. create and switch to a new branch
```bash
git checkout -b dev_your_github_username
```7. now open your local copy of the repo in a coding terminal of your choice and explore ππ
---
### TASKS TO DO π
The tasks have been laid out in the format `task_type (SCOPE): the_task` and these tasks have been sorted in terms of their difficulty. Some tasks may accompany some conditions which have to be met before attempting, read and understand them carefully since a small unrectified mistake can wreck this project completely. Check the [contributing guidelines](./CONTRIBUTING.md) first.
#### Tasks ‡
1. feature (UIUX): in the Login process, an alert box with an error message received from the server pops up every time a user enters the wrong credentials, create a counter that would track the number of times the user enters an username or email ID that does not belong to any account on the server, if the counter hits 3 times in a row then show an [option to take the user to the sign up screen](./media/ui_designs/alert-box-to-navigate-to-sign-up-screen-design.png) in the alert box that would appear. Maintain the existing UI and experience while doing so. πΈβ¨
2. fix (UIUX): debug the Sign Up process, hopefully it can contain some flaws or maybe it can be simplified further while maintaining the existing UI and experience (hint: check the UI/UX of the sign up screen and its components for errors if any). πΈππ©Ή
3. refactor : use [StreamBuilder](https://api.flutter.dev/flutter/widgets/StreamBuilder-class.html) in ChooseUsernameScreen
4. build (DEPENDENCIES): upgrade to the latest version of the flutter SDK without failing the build and crashing the app π·ββοΈπβ¬π₯
5. build (DEPENDENCIES): if the flutter SDK version of the project is the latest available upgrade the dependencies of the project to the latest available version without failing the build and crashing the app π·ββοΈβ¬π₯
6. build (DEPENDENCIES): if the flutter SDK version of the project is the latest available and the package [qr_code_scanner](https://pub.dev/packages/qr_code_scanner) has been discontinued, replace [qr_code_scanner](https://pub.dev/packages/qr_code_scanner) with [mobile_scanner](https://pub.dev/packages/mobile_scanner) and implement it without crashing the app. βπ¦β
7. feature (LOCALIZATION): make HADWIN available in other languages (japanese, hindi, bengali, mandarin, spanish, french, german etc.) π
8. test : write some meaningful tests maybe? π§ͺπ€
just don't break anything... please
---
### DEPENDENCIES π¦
HADWIN uses the following dependencies:
1. [provider](https://pub.dev/packages/provider) (π6.0.2): A wrapper around InheritedWidget to make them easier to use and more reusable. β‘
1. [fluentui_system_icons](https://pub.dev/packages/fluentui_system_icons) (π1.1.153): Fluent UI System Icons are a collection of familiar, friendly and modern icons from Microsoft. π¨
1. [http](https://pub.dev/packages/http) (π0.13.4): A composable, multi-platform, Future-based API for HTTP requests. β‘
1. [fade_shimmer](https://pub.dev/packages/fade_shimmer) (π2.0.1): A fade shimmer library to implement loading like lastest facebook loading effect. π¨
1. [scrollable_positioned_list](https://pub.dev/packages/scrollable_positioned_list) (π0.2.3): A list with helper methods to programmatically scroll to an item. β‘
1. [google_fonts](https://pub.dev/packages/google_fonts) (π2.3.1): A Flutter package to use fonts from fonts.google.com. π¨
1. [lottie](https://pub.dev/packages/lottie) (π1.2.2): Render After Effects animations natively on Flutter. This package is a pure Dart implementation of a Lottie player. π¨
1. [socket_io_client](https://pub.dev/packages/socket_io_client) (π1.0.2): Dartlang port of socket.io-client for web, flutter, dartvm to use. β‘β¨
1. [grouped_list](https://pub.dev/packages/grouped_list) (π4.2.0): A Flutter ListView where the list items can be grouped into sections. β‘
1. [concentric_transition](https://pub.dev/packages/concentric_transition) (π1.0.1): Concentric Transition effect. Useful for onboarding, page transitions etc. π¨
1. [dotted_line](https://pub.dev/packages/dotted_line) (π3.1.0): This package allows you to draw dotted lines with Flutter. You can draw a beautiful dotted line. π¨
1. [url_launcher](https://pub.dev/packages/url_launcher) (π6.0.20): Flutter plugin for launching a URL. Supports web, phone, SMS, and email schemes. β¨
1. [google_nav_bar](https://pub.dev/packages/google_nav_bar) (π5.0.6): A modern google style nav bar which could be use as a bottom navigation bar or tabbar, the design strictly follows the cuberto UI/UX on dribbble. π¨β‘β¨
1. [path_provider](https://pub.dev/packages/path_provider) (π2.0.9): Flutter plugin for getting commonly used locations on host platform file systems, such as the temp and app data directories. β‘
1. [markdown_widget](https://pub.dev/packages/markdown_widget) (π1.2.8): A new markdown package. It supports TOC function, HTML video and img tagοΌand it works well on both the web and mobile. π¨β¨
2. [flutter_launcher_icons](https://pub.dev/packages/flutter_launcher_icons) (π0.9.2): A package which simplifies the task of updating your Flutter app's launcher icon. π¨
3. [flutter_native_splash](https://pub.dev/packages/flutter_native_splash) (π2.0.1+1): Customize Flutter's default white native splash screen with background color and splash image. Supports dark mode, full screen, and more. π¨
emojis indicate the scope where the dependency affects in the app (check the table below)
emoji
scopeπ¨
UIβ‘
performanceβ¨
feature
---
### CREDITS π
β [PayPal App Redesign Concept](https://dribbble.com/shots/14114443-PayPal-App-Redesign-Conept) by [Vadim Demenko](https://dribbble.com/vdemenko) , follow Vadim on Β [![Dribbble](https://img.shields.io/badge/Dribbble-EA4C89?style=for-the-badge&logo=dribbble&logoColor=white)](https://dribbble.com/vdemenko) [![Behance](https://img.shields.io/badge/Behance-1769ff?style=for-the-badge&logo=behance&logoColor=white)](https://www.behance.net/vdemenko) [![Instagram](https://img.shields.io/badge/instagram-%23E4405F.svg?style=for-the-badge&logo=Instagram&logoColor=white)](https://www.instagram.com/vademenko/) [![Twitter](https://img.shields.io/badge/twitter-%231DA1F2.svg?style=for-the-badge&logo=Twitter&logoColor=white)](https://twitter.com/vademenko) [![LinkedIn](https://img.shields.io/badge/linkedin-%230077B5.svg?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/vdemenko/)
β[Credit card - Checkout flow (AMEX)](https://dribbble.com/shots/2187649-Credit-card-Checkout-flow-AMEX) by [Ramakrishna Venkatesan](https://dribbble.com/RamakrishnaUX), follow Ramakrishna on Β [![Dribbble](https://img.shields.io/badge/Dribbble-EA4C89?style=for-the-badge&logo=dribbble&logoColor=white)](https://dribbble.com/RamakrishnaUX) [![Behance](https://img.shields.io/badge/Behance-1769ff?style=for-the-badge&logo=behance&logoColor=white)](https://www.behance.net/RamakrishnaV) [![Twitter](https://img.shields.io/badge/Twitter-%231DA1F2.svg?style=for-the-badge&logo=Twitter&logoColor=white)](https://twitter.com/RamakrishnaUX) [![LinkedIn](https://img.shields.io/badge/linkedin-%230077B5.svg?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/ramakrishnaux) [![Instagram](https://img.shields.io/badge/instagram-%23E4405F.svg?style=for-the-badge&logo=Instagram&logoColor=white)](https://www.instagram.com/RamakrishnaUX/) [![Facebook](https://img.shields.io/badge/Facebook-%231877F2.svg?style=for-the-badge&logo=Facebook&logoColor=white)](https://www.facebook.com/Ramakrishna.design)
β [Auto Location Switching & Transaction Receipt](https://dribbble.com/shots/3669170-Auto-Location-Switching-Transaction-Receipt) by [Nimasha Perera](https://www.nimashaperera.com/), follow Nimasha on Β [![Behance](https://img.shields.io/badge/Behance-1769ff?style=for-the-badge&logo=behance&logoColor=white)](https://www.behance.net/nimashasperera) [![Dribbble](https://img.shields.io/badge/Dribbble-EA4C89?style=for-the-badge&logo=dribbble&logoColor=white)](https://dribbble.com/nimasha_sperera/) [![Twitter](https://img.shields.io/badge/Twitter-%231DA1F2.svg?style=for-the-badge&logo=Twitter&logoColor=white)](https://twitter.com/nimasha_perera) [![LinkedIn](https://img.shields.io/badge/linkedin-%230077B5.svg?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/nimashaperera/) [![Medium](https://img.shields.io/badge/Medium-12100E?style=for-the-badge&logo=medium&logoColor=white)](https://medium.com/@nimasha_perera)
β [Work From Home Setup (Night)](https://dribbble.com/shots/17284897-Work-From-Home-Setup-Night) by [Mohamed Chahin](https://www.behance.net/MChahin), follow Mohamed on Β [![Behance](https://img.shields.io/badge/Behance-1769ff?style=for-the-badge&logo=behance&logoColor=white)](https://www.behance.net/MChahin) [![Dribbble](https://img.shields.io/badge/Dribbble-EA4C89?style=for-the-badge&logo=dribbble&logoColor=white)](https://dribbble.com/MohChahin/) [![Twitter](https://img.shields.io/badge/Twitter-%231DA1F2.svg?style=for-the-badge&logo=Twitter&logoColor=white)](https://twitter.com/beastochahin) [![LinkedIn](https://img.shields.io/badge/linkedin-%230077B5.svg?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/mohchahin/) [![Facebook](https://img.shields.io/badge/Facebook-%231877F2.svg?style=for-the-badge&logo=Facebook&logoColor=white)](https://www.facebook.com/BeastoChahin)
β [Online shopping at the best prices.](https://dribbble.com/shots/15636548-Online-shopping-at-the-best-prices) by [Yuliia Osadcha](https://linktr.ee/YuliiaOsadcha), follow Yulia on Β [![Behance](https://img.shields.io/badge/Behance-1769ff?style=for-the-badge&logo=behance&logoColor=white)](https://www.behance.net/yuliiaosadcha) [![Dribbble](https://img.shields.io/badge/Dribbble-EA4C89?style=for-the-badge&logo=dribbble&logoColor=white)](https://dribbble.com/YuliiaOsadcha/) [![Twitter](https://img.shields.io/badge/Twitter-%231DA1F2.svg?style=for-the-badge&logo=Twitter&logoColor=white)](https://twitter.com/YuliiaOsadcha) [![Instagram](https://img.shields.io/badge/Instagram-%23E4405F.svg?style=for-the-badge&logo=Instagram&logoColor=white)](https://www.instagram.com/yuliiaosadcha/)
---
### SUPPORT HADWIN β€
Add a star
Fork the repository
share on twitter Β [![Twitter URL](https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Fgithub.com%2Fbrownboycodes%2FHADWIN)](https://twitter.com/intent/tweet?text=check%20out%20the%20repository%20of%20HADWIN%2C%20a%20prototype%20of%20a%20fund%20transfer%20platform%20built%20with%20flutter%20%0Ahttps%3A%2F%2Fgithub.com%2Fbrownboycodes%2FHADWIN)
share on facebook Β [![share on facebook](https://img.shields.io/badge/Share-π-blue?logo=facebook&style=social)](https://www.facebook.com/sharer.php?u=https%3A%2F%2Fgithub.com%2Fbrownboycodes%2FHADWIN)
share on LinkedIn Β [![share on LinkedIn](https://img.shields.io/badge/LinkedIn-share%20with%20your%20connections-green?logo=linkedin&style=social)](https://www.linkedin.com/shareArticle?url=https%3A%2F%2Fgithub.com%2Fbrownboycodes%2FHADWIN&title=HADWIN&summary=prototype%20of%20a%20fund%20transfer%20app%20built%20with%20flutter&source=HADWIN)
---
### CONTRIBUTORS
![GitHub Contributors Image](https://contrib.rocks/image?repo=brownboycodes/HADWIN)
---
### β IMPORTANT β
**HADWIN** has been created purely out of my own interest in building a sophisticated fund transfer platform for adding value to my portfolio. Again it is being reminded that users cannot transfer/receive real money through this app (as of now), users are warned and forbidden from using real credit/debit card numbers or bank account numbers. Users may and if possible should only test this application with [mock data](./docs/HADWIN_WIKI.md) provided from my personal API hosting server (**FruitCastle** ([source code π‘]((https://github.com/brownboycodes/FruitCastle))). Account numbers and User details are fictitious, they have been generated randomly out of imagination, any resemblance of mock data with real people or account numbers is matter of sheer coincidence. The creator of this project not be/ cannot be held responsible for loss of any kind.
---
*Anyone attempting to infringe/plagarize my code to replicate this project or reproducing this project with exactly same code and claiming it as their own is being requested to play fair, try building this project on your own, it will help in better assessment of your app development skills and also properly attribute/give credit to the people and resources from which inspiration has been drawn from.*
---
[![Github Badge](https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white)](https://github.com/brownboycodes) [![Twitter Badge](https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://www.twitter.com/brownboycodes) [![LinkedIn Badge](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/brownboycodes) [![Instagram](https://img.shields.io/badge/instagram-%23E4405F.svg?style=for-the-badge&logo=Instagram&logoColor=white)](https://www.instagram.com/brownboycodes/) [![Facebook Badge](https://img.shields.io/badge/Facebook-%231877F2.svg?style=for-the-badge&logo=Facebook&logoColor=white)](https://www.facebook.com/brownboycodes) [![Reddit Badge](https://img.shields.io/badge/Reddit-FF4500?style=for-the-badge&logo=reddit&logoColor=white)](https://www.reddit.com/user/brownboycodes/)