文件名称:mean-stack-app
文件大小:11KB
文件格式:ZIP
更新时间:2024-07-24 08:48:47
JavaScript
#REST API GET /posts - return a list of posts and associated metadata POST /posts - create a new post GET /posts/:id - return an individual post with associated comments PUT /posts/:id/upvote - upvote a post, notice we use the post ID in the URL POST /posts/:id/comments - add a new comment to a post by ID PUT /posts/:id/comments/:id/upvote - upvote a comment
【文件预览】:
mean-stack-app-master
----public()
--------partials()
--------index.html(1KB)
--------js()
--------css()
----models()
--------Posts.js(371B)
--------Comments.js(283B)
----bower.json(379B)
----controllers()
--------posts.js(2KB)
----app.js(1KB)
----README.md(385B)
----.bowerrc(31B)
----.gitignore(607B)
----routes()
--------posts.js(848B)
----package.json(395B)