小编use*_*059的帖子

从rethinkdb获取条目到node.js博客

我想创建一个简单的节点博客,但我需要一些帮助!

我想将我的博客"条目"或"帖子"保存到rethinkdb,但为了做到这一点,我首先需要知道如何让我的帖子显示在我的博客上,所以我创建了一个rethinkdb服务器,带有一些条目!这是它的样子:

[

    {
        "body": "This is the standard hello world message!" ,
        "id": "1" ,
        "published": "2014-04-19" ,
        "title": "Hello World!" 
    } ,
    {
        "body": "I tought dinner with my family would be horrific, but maybe my low expectations made it bearable" ,
        "id": "3" ,
        "published": "2014-04-19" ,
        "title": "Dinner was ok!" 
    } ,
    {
        "body": "Here I am ranting about how easter is not as awesome it is said to be" ,
        "id": "2" ,
        "published": "2014-04-19" …
Run Code Online (Sandbox Code Playgroud)

node.js express rethinkdb pug

1
推荐指数
1
解决办法
900
查看次数

标签 统计

express ×1

node.js ×1

pug ×1

rethinkdb ×1