ecommerce_ios_app - Assignment 3
This is an eCommerce ios app built using fake store api. The app is designed to respect the MVVM architecture model.
Sign In / Registration page
-
user validation on the sign-in:
- field completion
- validate entered username/password
-
registration for creating new account:
- validate all fields completed
- validate username and password are greater than or equal to 5 chars long
- validate username does not already exist in db
- confirm user registration completes successfully
Homepage
- In the homepage view, the user can:
- See all the product with the name and image of each item
- Has the ability to click on a product and be directed to the product detail view
- In the product detail view the user can:
- Return to the home page collection view
- View product image, title as well as product detail description, product price
- Select option to add the product to the cart
- Receive a successful alert if the product is added to the cart successfully
Cart
- In the cart view, the user can:
- See all product added to the cart by the user with the name and image of each item
- view that the cart is empty when there are no items in the cart
- Edit the cart and delete items from the cart
- Checkout/Pay for all items in the cart
Profile
- In the profile view, the user can:
- see their first name, last name and username
- see the purchase history of each item the date, time and total cost of the checkouted items
- option to logout from the app and return to login page