Skip to content

Latest commit

 

History

History
157 lines (106 loc) · 11.3 KB

HADWIN_WIKI.md

File metadata and controls

157 lines (106 loc) · 11.3 KB

Last updated: May 31, 2022


The app HADWIN © 2022 and it's backend server FruitCastle © 2022 was developed by Nabhodipta Garai and is owned by him.

Since there isn't any database connected to the backend servers the feature of truly creating new HADWIN accounts and using them to login is unavailable. The current HADWIN can be described as a demo-version/prototype of what the actual product might be/behave like.

However, records of mock transactions & credit card details will be saved on the device of the user

This condition may or may not change in the future.




HOW TO LOGIN?

To login to a HADWIN account users will need to provide an username or email address and the password associated with that account.

Since no database is connected to the backend servers the feature of truly creating new accounts and using them to login is unavailable. The current HADWIN app can be described as the demo version/prototype of what the actual product might be/behave like.

The required details of all the available accounts to login to are listed below :-

NAME USERNAME EMAIL ID PASSWORD
Mary Kertzmann mary.kertzmann [email protected] deer
Rusty Abshire rusty.abshire [email protected] parrot
Dante Vandervort dante.vandervort [email protected] tiger
Damion Jerde damion.jerde [email protected] chicken
Bruce Wayne the.batman [email protected] aSymbol
Tony Stark iamironman [email protected] LoveU3000
Van Wilder freeguy [email protected] FirstDatesAreInterviews
Van Helsing logan [email protected] ryansUglySweater
Steve Harrington king_steve [email protected] ussButterscotch
Meilin Lee red.panda [email protected] 4town
Diana Prince wonderwoman [email protected] Hippolyta
Selina Kyle catwoman [email protected] notTrustworthy
Natasha Romanoff blackwidow [email protected] daughterOfIvan
Jane Hopper el [email protected] eggo

Trying to gain access using details/values other than the ones mentioned above to sign in/login to an existing HADWIN account will result in the server responding with an error of - "no account found with the email address provided" or "no account found with the username provided"

Upon successful Login, user session will last for 3 hours, i.e. a logged-in user will be automatically signed out after 3 hours




HOW TO SIGN UP?

Since there isn't any database connected to the backend servers the feature of truly creating new HADWIN accounts and using them to login is unavailable. The current HADWIN can be described as the demo version/prototype of what the actual product might be/behave like. And since this is a demo version validation rules in the sign up form/process has been kept to a minimum.

The validation details to register/sign-up with a new HADWIN account are listed below :-

STEP REQUIREMENTS VALIDATION RULES
1 full name

residential address
fields cannot be empty

input values of either fields do not need to match the exact details associated with the account
2 email address

password
fields cannot be empty

input value of email address should match the exact details associated with the account

input values of password field does not need to match the exact details associated with the account
3 bank account number field cannot be empty

input value of bank account number field should match the exact details associated with the account
4 username field cannot be empty

input value of username field should match the exact details associated with the account

The required details to register/sign-up with a new HADWIN account are listed below :-

NAME EMAIL ID BANK ACCOUNT NUMBER USERNAME
Mary Kertzmann [email protected] 99293629 mary.kertzmann
Rusty Abshire [email protected] 19285107

21664761
rusty.abshire
Dante Vandervort [email protected] 67767567

04295132
dante.vandervort
Damion Jerde [email protected] 64045463

42203582
damion.jerde
Bruce Wayne [email protected] 47911045

19826115
the.batman
Tony Stark [email protected] 39753176

61428607
iamironman
Van Wilder [email protected] 40429859
53421343
freeguy
Van Helsing [email protected] 23926044
20166891
logan
Steve Harrington [email protected] 72389857
91515917
king_steve
Meilin Lee [email protected] 50881774

11045853
red.panda
Diana Prince [email protected] 30646421

39108502
wonderwoman
Selina Kyle [email protected] 27772507

36995137
catwoman
Natasha Romanoff [email protected] 36841177

10783270
blackwidow
Jane Hopper [email protected] 76131209
59840666
el

Trying to gain access using details/values other than the ones mentioned above to sign up/register a new user will result in the server responding with an error of - "account already exists with the details provided"

Upon successful Sign-up, user session will last for 3 hours, i.e. a logged-in user will be automatically signed out after 3 hours



the data used for testing is fictious, any resemblance is a matter of coincidence and any offence caused is unintended




HOW TO ADD CARDS?

The current HADWIN can be described as the demo version/prototype of what the actual product might be/behave like. Therefore, there isn't any database connected to the backend servers, as a result the feature of truly adding new cards and saving that information on the server securedly is unavailable. However, the card details will be saved locally of the device of the user.

To add a card go to the "My Wallet" screen and tap on the "ADD CARD +" that appears on the screen above the list of available cards. Any card that is added will be saved in the sate of the app and will disappear if the app is restarted.

The add card feature can process any card with 16 digit card numbers due to unavailability of better designs the feature is programmed to only recognize cards belonging to American Express, VISA, Discover and MasterCard. For the safety of the user it is recommended to test this feature with the test data provided

BRAND NUMBER EXPIRY DATE CVV
American Express 377467722940471 02/27 706
American Express 348407474175021 03/23 936
American Express 370633818236861 09/23 717
Discover 6011884188083639 03/26 717
Discover 6011256817139787 01/23 619
Discover 6011821635092540 09/27 313
MasterCard 5433787007810763 09/24 717
MasterCard 5517912771511608 05/27 643
MasterCard 5392826146822252 03/27 112
VISA 4399962514899360 05/23 543
VISA 4547661516038776 11/22 509
VISA 4266658400597114 06/24 462



HOW TO MAKE A TRANSACTION?

If you are on the dashboard/home screen, tap on the buttons "Send Money" to pay someone or "Request Money" to request someone, tap on a name from the list of names that would appear and next you will be taken to the "Fund Transfer Screen" enter an amount between zero and ten thousand and if the amount doesn't exceed the user's bank balance a transaction request will be sent to the server and the server will respond with a random result either successful or failed. If transaction is successful we will be able to see the transaction receipt.

If you are on the Contacts screen, tap on a contact from the list of contacts and a dialog box will appear with buttons Pay and Request, tap the button "Pay" to pay someone or "Request" to request someone and next you will be taken to the "Fund Transfer Screen" enter an amount between zero and ten thousand andif the amount doesn't exceed the user's bank balance a transaction request will be sent to the server and the server will respond with a random result either successful or failed. If transaction is successful we will be able to see the transaction receipt.

Transaction Receipts will be saved locally since HADWIN at present is a prototype and doesn't have a database connected to its backend server.




HOW TO SEE A TRANSACTION RECEIPT?

If the user is making a payment and it turns out to be successful, a button will be displayed "View Transaction Receipt". Or the user can go to "Activities" screen where the user can see a list transactions made sorted such that the latest transaction first and the oldest comes last. "Tap" on a transaction to see the receipt.




HOW TO SIGN OUT?

go to the My Wallet screen tap on the settings icon on the top right corner, and scroll to the bottom of the list that would appear, tap on the "Sign Out" button, tap it to logout.