mumz-strapi-plugin-coupon 1.1.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -13
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
#Strapi Plugin - Coupon Management
|
|
1
|
+
# Strapi Plugin - Coupon Management
|
|
2
|
+
|
|
2
3
|
A centralized coupon management system for Strapi that handles validation, redemption, and tracking across multiple service domains.
|
|
3
4
|
|
|
4
5
|
## Requirements
|
|
6
|
+
|
|
5
7
|
- Strapi 5.0.0 or higher
|
|
6
8
|
- Node.js 18.0.0 or higher
|
|
7
9
|
- npm 6.0.0 or higher
|
|
8
10
|
- PostgreSQL, MySQL, or SQLite
|
|
9
11
|
|
|
10
12
|
## Features
|
|
11
|
-
|
|
12
|
-
✅
|
|
13
|
-
✅ Flexible discount types (percentage, flat)
|
|
14
|
-
✅ Usage limits and validity periods
|
|
15
|
-
✅ User eligibility validation
|
|
16
|
-
✅ Service-specific applicability
|
|
17
|
-
✅ Complete redemption audit trail
|
|
18
|
-
✅ RESTful API endpoints
|
|
19
|
-
✅ Race condition protection for concurrent redemptions
|
|
20
|
-
✅ Input validation and sanitization
|
|
21
|
-
✅ Rate limiting on public endpoints
|
|
22
|
-
✅ TypeScript support with full type definitions
|
|
13
|
+
|
|
14
|
+
- ✅ Centralized coupon creation and management
|
|
15
|
+
- ✅ Flexible discount types (percentage, flat)
|
|
16
|
+
- ✅ Usage limits and validity periods
|
|
17
|
+
- ✅ User eligibility validation
|
|
18
|
+
- ✅ Service-specific applicability
|
|
19
|
+
- ✅ Complete redemption audit trail
|
|
20
|
+
- ✅ RESTful API endpoints
|
|
21
|
+
- ✅ Race condition protection for concurrent redemptions
|
|
22
|
+
- ✅ Input validation and sanitization
|
|
23
|
+
- ✅ Rate limiting on public endpoints
|
|
24
|
+
- ✅ TypeScript support with full type definitions
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mumz-strapi-plugin-coupon",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Strapi plugin for centralized coupon management across multiple services",
|
|
5
5
|
"strapi": {
|
|
6
6
|
"name": "coupon",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
},
|
|
22
22
|
"repository": {
|
|
23
23
|
"type": "git",
|
|
24
|
-
"url": "git+https://github.com/mumzworld-tech/strapi-plugin
|
|
24
|
+
"url": "git+https://github.com/mumzworld-tech/mumz-services-coupons-strapi-plugin.git"
|
|
25
25
|
},
|
|
26
26
|
"bugs": {
|
|
27
|
-
"url": "https://github.com/mumzworld-tech/strapi-plugin
|
|
27
|
+
"url": "https://github.com/mumzworld-tech/mumz-services-coupons-strapi-plugin/issues"
|
|
28
28
|
},
|
|
29
|
-
"homepage": "https://github.com/mumzworld-tech/strapi-plugin
|
|
29
|
+
"homepage": "https://github.com/mumzworld-tech/mumz-services-coupons-strapi-plugin#readme",
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
@@ -68,4 +68,4 @@
|
|
|
68
68
|
"node": ">=18.0.0",
|
|
69
69
|
"npm": ">=6.0.0"
|
|
70
70
|
}
|
|
71
|
-
}
|
|
71
|
+
}
|