Haggle X mobile app.
- iOS ~> 15
- Xcode ~> 13 (13 compatible)
- Swift ~> 5.0
Clone the repository
$ git clone https://github.com/omokagbo/HaggleX.git
$ cd HaggleX
$ pod install
Open the file HaggleX.xcworkspace
using Xcode
Allow the project to build and install all dependencies.
Click on the play button at the top left corner to build and run the project
From the splash screen, the user is taken to the Login screen and for a new user without account, there is a Create Account button on the screen that takes them to where they can create a new account. There is an email and a password field where user enters their details and these fields are validated.
On clicking on the Create Account button, the user is taken to the "Create New Account" screen where the user gets to create a new account with email, password, username, phone number and referral code. Just like the login screen, these fields are all validated to make sure:
- The email address is valid and has not been used
- Password is more than 8 characters
- A username that is not already in use
- Phone number that is not already in use and is valid
- An optional referral code to check if it is valid
When user clicks on the Sign up button, a verification code is sent to the email provided and the user is taken to a screen where they get to verify their account.
Here the user also gets to select the country and country code for phone number verification:
Here, the user gets to enter the code sent to their email address and if it's valid, they get to move to the next screen. The code is only valid for 10 minutes. If it expires, the user can get to ask for a new code to be resent using the resend verification code button.
On successful completion of account verification, the user is taken to a success splash screen from where they are taken to the home screen.
The user is presented with the dashboard. Here the user can get to switch currencies between naira and dollar. The user is also able to logout, get news about crypto and a whole lot of other features