I have a problem right now, Algolia really provides rich documentation regarding node.js, but my problem right now
1) how to import mongodb database to algolia server? it looks like they show how to use MySql database instead of Mongodb using node.js
2) I use ejs to render html, so do I need to request the search value using node.js or just allow it to be html clientide?
because with ejs i have to use
app.get("/testingSearch", function(req, res) {
res.render('testing', { message: value});
})
app.post("/postSearch", function(req, res) {
var name = req.body.name;
});
Anyone who has experience with algolia + node.js + mongodb, please lend me your advice. thank you
source
share