Git Product home page Git Product logo

shoppingpoint's Introduction

Shopping Point

Shopping app to browse up-to-date products list on screen, to add and remove items from cart, and to store wish list items locally in database.

This app incorporated with its level best in

  • MVVM clean architecture.
  • LiveData observables to ensure UI state matches our live data state.
  • ViewModel for using UI tasks by lifecycle conscious way and preserving configuration changes.
  • Retrofit2 for REST client.
  • Room for storage.
  • Mockito (one as of now) for unit test one of LiveData observables communication.
  • App (written in Java), run and tested manually on Samsung S10 mobile device.

Prerequisites

  • Android Studio 3.0 and above (This app built on latest version by now as Android studio 4.0.1 and Gradle version 6.1.1)
  • Android API level 19 and above
  • Java SDK version 1.8

Installation

You can git clone the project using the path

https://github.com/Divs-B/ShoppingPoint.git

User Stories Covered

  • As a Customer I can view the products and their category, price, old price for discounted products and availability information.
  • As a Customer I can add a product to my shopping cart.
  • As a Customer I can add a product to my wishlist.
  • As a Customer I can remove a product from my shopping cart.
  • As a Customer I can view the total price for the products in my shopping cart.
  • As a Customer I am unable to add Out of Stock products to the shopping cart.
  • As a Customer I can move a product from my wishlist to the shopping cart.

User Stories Un Done

  • As a Customer I can remove a product from my wishlist.

So What this project has

  • Single Activity Model with reusable Fragments.
  • Swipe refresh to refresh the page in RecyclerView
  • Show all Product Details on Home screen, Cart items on Cart screen, and has menu button to go Wishlist screen and Home screen respectively
  • Add and Remove any product to cart and update total amount.
  • Page refresh with updated details like stock etc for added cart items.
  • Add any product to wishlist.
  • Add any product from wishlist to cart.
  • Store wishlist in DB for persistant storage.

other things

  • Base URL (api path) is kept under app/build gradle file inside build config element.
  • Please swipe or scroll up to refresh and reload screen.

shoppingpoint's People

Contributors

divs-b avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.