没有合适的资源?快使用搜索试试~ 我知道了~
gschool_node-shoppinglist
共10个文件
html:3个
js:2个
json:1个
需积分: 5 0 下载量 78 浏览量
2021-05-13
20:28:52
上传
评论
收藏 7KB ZIP 举报
温馨提示
节点购物清单API 让我们为基本的购物清单应用程序构建后端。 首先,搭建新的Express Boilerplate。 获取所有物品 首先,为用户添加查看购物清单的功能。 换句话说,我们需要处理从购物清单中获取所有商品的问题。 在route / index.js中设置/items路由: // constructor function ItemLibrary ( ) { this . items = [ ] ; this . id = 0 ; } // methods ItemLibrary . prototype . addItem = function ( name ) { var newItem = { name : name , id : this . id } ; this . items . push ( newItem ) ; this . id +=
资源推荐
资源详情
资源评论
收起资源包目录
gschool_node-shoppinglist-master.zip (10个子文件)
gschool_node-shoppinglist-master
client
public
css
main.css 111B
.gitignore 38B
package.json 334B
server
app.js 2KB
bin
www 2KB
views
layout.html 566B
error.html 229B
index.html 196B
routes
index.js 1KB
README.md 2KB
共 10 条
- 1
资源评论
zhangjames
- 粉丝: 21
- 资源: 4745
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- vscode-1.64.1.tar源码文件
- vscode-1.64.0.tar源码文件
- vscode-1.52.0.tar源码文件
- Music-Player +PlayerActivity+ rockplayer+ SeeJoPlayer 播放器JAVA源码
- vscode-1.46.0.tar源码文件
- 最近很火植物大战僵尸杂交版2.08苹果+安卓+PC+防闪退工具V2+修改工具+高清工具+通关存档整合包更新
- 超级好用的截图工具PixPin,可录制Gif图
- Screenshot_2024-05-21-17-06-42-64_2332cb9b27b851b548ba47a91682926c.jpg
- 毕业设计参考 - 基于树莓派、OpenCV及Python的人脸识别
- node-v18.20.2-linux-arm64
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功