Meteor based product recommendation application.
MIT License
This Meteor based application presents potential customers with a list of questions to answer. Answers to these questions help steer product recommendations. Production recommendations are then presented for purchase. Administrators can manage how recommended products line up with customer answers.
Meteor based application using React for the view layer and Mongo for the database. This application leverages Meteor 1.3's out of the box npm and ES2015 module support.
git clone https://github.com/hwillson/meteor-recommendation-builder.git
npm install
npm start
Run all tests with npm test
.
require('./imports/api/products/methods.js').synchProducts.call()
settings.json
file, and must be reachable via get (currently no authentication supported). Web service response must look like:{
"success": true or false,
"data": "[
{
\"productId\": 123,
\"productName\": \"Some Product\",
\"productUrl\": \"http://blah.com/some-product\",
\"productImage\": \"http://blah.com/some-image\",
\"variationId\": 456,
\"variationName\": \"Some Variation\",
\"status\": \"active\" or \"inactive\"
},
...
]"
}
{
"questionId": "colors",
"label": "Colors",
"content": "What are your favorite colors?",
"order": 1,
"availableAnswers": [
{ "label": "Red", "value": "red" },
{ "label": "Green", "value": "green" }
]
},
{
"questionId": "foods",
"label": "Foods",
"content": "What are your favorite foods?",
"order": 2,
"availableAnswers": [
{ "label": "Pizza", "value": "pizza" },
{ "label": "Dougnuts", "value": "doughnuts" }
]
},
...