add carts

This commit is contained in:
Daniel Goc
2026-03-24 14:46:38 +01:00
parent 04538d4373
commit c464c02301
8 changed files with 303 additions and 13 deletions

View File

@@ -3,3 +3,5 @@ package constdata
// PASSWORD_VALIDATION_REGEX is used by the frontend (JavaScript supports lookaheads).
const PASSWORD_VALIDATION_REGEX = `^(?=.*[a-z])(?=.*[A-Z])(?=.*\d).{10,}$`
const SHOP_ID = 1
const MAX_AMOUNT_OF_CARTS_PER_USER = 10
const DEFAULT_NEW_CART_NAME = "new cart"