This is a Coupon Distribution Platform for both consumers and merchants. Customers can easily get and manage their coupons in this platform where Merchants can directly distribute them. Considering when some limited coupons come out a huge amount of customers would rush to get them, we would use Kafka to solve the problem of real-time data processing of a very large scale of messages. Also, we would use HBase to implement the storage of customers' information to ensure the read and write efficiency. After the implementation of our platform, we plan to use PostMan to test our APIs and JMeter to finish the stress testing.
- Tools:Maven, JDK8, HBase, Kafka, MySQL
- Development Environment:Intellij IDEA
- Cache:Redis
- Framework:SpringBoot
- Cache Design
- Utility
- Log
- Exception
- Table Structure
- Create Merchant
- Distribute Coupon
- constant -- constants definition
- security -- interceptor
- entity -- Merchant Entity Class
- dao -- Merchant Data Access Object Interface
- vo -- Value Object
- service -- Merchant service interface and implementation
- User - Coupon Function
- User get coupon
- User use coupon
- Get user's usable coupons
- Get user's used coupons
- Get user's all coupons
- Get Coupon Inventory
- Feedback Function