Skip to content

nguyentruongky/shopmate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shopmate

Architecture

shopmate is built in Clean Swift with a custom design.

I remove Presenter in clean swift and connect directly View Controller to Interactor. This change makes the architecture becomes very flexible to change the requirements.

Technique

Using Auto Layout Programmatically instead of Interface Builder. I use my own library to build this. Check it out here.

UI implementation with knStaticListController (detail is here). This skill helps to build UI flexibly and fast.

Features

1. Login/Register

DONE

2. Products list

  • Load list - DONE
  • Load more - DONE
  • Load product in category - DONE

3. Product Detail

  • Color Selection - DONE

  • Size Selection - DONE

  • Image presentation - DONE

  • Get cart count - DONE

  • Review - DONE

  • Rating - Upcoming

  • Add to wishlist - Upcoming

Note

  • The API should return available colors and sizes, instead of using general options.
  • Images should return urls (or a document to get images). I had to contact to Khuong to know how to download images.

4. Cart

  • Get cart items - DONE
  • Update items - DONE
  • Remove items - DONE

5. Checkout

  • Select card - DONE
  • Add card - DONE
  • Select Address - DONE
  • Select shipping method - DONE

Note

  • I use my stripe library instead of calling the API.

6. Filter - DONE

Note Don't support filter api, so have to do a trick. Load all products by loading pagination and filter on loaded products.

7. Search - DONE

Note Your search api sometimes returns empty, while there are some products contain that keyword, for instance arc.

8. Menu

  • My Profile - DONE
  • Payment method - DONE
  • Logout - DONE
  • Address - DONE

Improvement

  • State (loading, empty) - DONE
  • Category - DONE
  • Add app icon - DONE
  • Animation when add to cart
  • Wishlist

Working hours

I can't commit for this project full time. So work few hours everyday.

  • Prepare UI graphics design: 2hours
  • Login/Register: 3 hours
  • Products list: 2 hours
  • Product detail: 4 hours
  • Cart: 4 hours
  • Payment method: 2 hours
  • Menu: 1 hour
  • Filter: 2 hours
  • Search: 1 hour
  • Payment flow: 3 hours
  • Address: 1 hour
  • Shipping: 3 hours
  • Category: 1 hour

Total: 29 hours.

Contact

Ky Nguyen

nguyentruongky33@gmail.com

Skype: nguyentruongky3390

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published