I have created a blog site in node red. I have used mongodb database to create a collection and store my content. Everything is working fine, there is no error in debug side bar. But I cannot able to display my blog page
Can anyone help me with it ?
Not without a lot more information...
What hardware? versions of node-red? nodejs? npm? dashboard (if you are using it)?
Any errors in the node-red console log? how about the browser's dev console?
Can you post your flow, or at least screenshots/descriptions of how it's supposed to work?
This is my flow.
[{"id":"f28d0390.5bc93","type":"http in","z":"253ca5cd.01692a","name":"","url":"/public/posts","method":"get","upload":false,"swaggerDoc":"","x":119,"y":120,"wires":[["d88fb3de.79194"]]},{"id":"d88fb3de.79194","type":"mongodb in","z":"253ca5cd.01692a","service":"ext","mongodb":"8d624ed0.6f48a","name":"find posts","collection":"posts","operation":"find","x":337,"y":167,"wires":[["22b0827f.07d09e"]]},{"id":"22b0827f.07d09e","type":"template","z":"253ca5cd.01692a","name":"","field":"payload","fieldType":"msg","format":"html","syntax":"mustache","template":"\n\n \n \n \n
My Micro Blog
\n \n Title\n \n Post Content\n <input type=”text” class=”form-control” name=”post” placeholder=”Say something…” />\n <button type=”submit” class=”btn btn-default”>Submit\n \n{{title}}
\n{{post}}
\n
this is my flow.
Hmmm is this class work? this is the exact same code as posted in Blog site using Mongo db
no we are just learning node programming together!
So if you want help, answer a;; the questions people asked. Go back and reread this thread and answer ALL the questions AND edit your flow after reading How to share code or flow json
and if you are learning together then only one of yoou should be posting questions. If you both post the same question you will not get responses faster, in fact the opposite may happen.
okay thanks