Skip to content

Releases: alekd77/promo-code-manager

Release list

v0.2.0

Choose a tag to compare

@alekd77 alekd77 released this 04 Jun 12:26
e3ae574

Changes compared to v0.1.0:

  • Implemented new API endpoint ([GET] /reports/sales/by-currency).
  • Changed product field type in purchase entity (from Product product to String productName).
  • Fixed bugs that ignored price precision when handling prices in application (e.g discountAmount before: 99.0000004; discountAmount now: 99.00).
  • Minor refactoring.

v0.1.0

Choose a tag to compare

@alekd77 alekd77 released this 28 May 05:04
29441e0

Implemented REST API endpoints:

  1. Create a new product
  2. Get all products
  3. Update product data
  4. Create a new fixed-amount promo code.
  5. Create a new percentage promo code.
  6. Get all promo codes.
  7. Get one promo code's details by providing the promo code text.
  8. Get the product discount price by providing a product name and a promo code text.
  9. Simulate purchase