Skip to content

Instantly share code, notes, and snippets.

@Kajaia
Created May 22, 2023 16:38
Show Gist options
  • Save Kajaia/3d1e3608bf26ffa2e256e64eb8b07b1e to your computer and use it in GitHub Desktop.
Save Kajaia/3d1e3608bf26ffa2e256e64eb8b07b1e to your computer and use it in GitHub Desktop.
Point of Sale (POS) - Task
@Kajaia
Copy link
Author

Kajaia commented May 22, 2023

POS App - JS

Features:

  • Display all products;
  • Products live search;
  • Add product to cart;
  • Remove product from cart;
  • Change product quantity in cart (Don't go below 1);
  • Don't add product to cart if it's added already;
  • Show products total quantity in cart;
  • Show cart total price;
  • Add tax percentage to total price;
  • Subtract discount percentage from total price;
  • Add shipping price to total price;
  • Add cart reset button;
  • Add invoice modal showing detailed info;
  • Save cart items in local storage (Unavailable in demo app);
  • Use SweetAlert2 and FontAwesome if possible

API:

  • GET /products link - Get all products

Helpful links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment