节点博客样板
用于节点供电的基于休息的博客样板的简单样板。 一个没有渲染或前端支持的朋友的简单示例。
安装与运行
git clone http://github.com/ccutch/node-blogging-boilerplate
cd node-blogging-boilerplate
npm install
npm start
用法
列出文章(功能性来临)
curl http://localhost:5150/articles
取得文章
curl http://localhost:5150/articles/:id
创建文章
curl -F article=@filename http://localhost:5150/articles
更新文章
curl -F article=@filename http://localhost:5150/articles/:id
删除