This is a scalable, maintainable backend service.
It is mainly developed by SpringBoot, HBase, kafka to build a pipeline which can handle high concurrency with low latency.
It use maven to manage dependencies.
Please use your Idea to import this project based on Maven
Attribute | Unique |
---|---|
name | Y |
logo_url | N |
business_license_url | N |
phone | N |
address | N |
name | desc | unique |
---|---|---|
id | the id of belonging merchants | N |
title | the title of coupon | Y |
summary | N | |
desc | N | |
limit | the limit number of coupon | N |
has_token | N | |
background | the background color of coupon | N |
start | the start time of coupon | N |
end | the end time of coupon | N |
GET: 127.0.0.1:9528/upload
merchantsId - 12
PassTemplateId: e3ec06eaacb2f1dca901556991df7bb0
POST: 127.0.0.1:9528/passbook/createuser
{
"baseInfo": {
"name": "monpro",
"age": 10,
"sex": "m"
},
"otherInfo": {
"phone": "1234567890",
"address": "sydney"
}
}
GET: 127.0.0.1:9528/passbook/inventoryinfo?userId=109452
GET: 127.0.0.1:9528/passbook/gainpasstemplate
{
"userId": 109452,
"passTemplate": {
"id": 12,
"title": "test coupule 2",
"hasToken": true
}
}
userpassinfo
GET: 127.0.0.1:9528/passbook/userpassinfo?userId=109452
userusedpassinfo
GET: 127.0.0.1:9528/passbook/userusedpassinfo?userId=109452
userusepass
POST: 127.0.0.1:9528/passbook/userusepass
{
"userId": 109452,
"templateId": "e3ec06eaacb2f1dca901556991df7bb0"
}
POST: 127.0.0.1:9528/passbook/createfeedback
{
"userId": 109452,
"type": "app",
"templateId": -1,
"comment": ""
}
{
"userId": 109452,
"type": "pass",
"templateId": "e3ec06eaacb2f1dca901556991df7bb0",
"comment": ""
}
Currently only myself
But pull requests are welcome!