presto:餐厅预订 - Web UI 组件

时间:2021-05-30 07:55:40
【文件属性】:
文件名称:presto:餐厅预订 - Web UI 组件
文件大小:4.53MB
文件格式:ZIP
更新时间:2021-05-30 07:55:40
reservation presto rest-api restaurant JavaScript 快速用户界面 Presto 应用程序的 Web-UI 组件。 此自述文件将从前端的角度介绍应用程序的功能。 我们将首先定义应用程序中创建的 API 函数以及如何使用它们,然后讨论表单及其输入字段。 运行应用程序: 克隆 repo: git clone git@github.com:rawad663/presto.git 安装应用程序依赖项: npm install 运行应用程序: npm API 调用函数 指定了以下函数以使用 axios 对服务器进行 AJAX 调用: aGet(路线) const aGet = route => axios.get(route); aPost(路由,postData) const aPost = (route, postData_ => axios.post(route, postData); aPut(路线,putData) c
【文件预览】:
presto-master
----public()
--------manifest.json(317B)
--------index.html(2KB)
--------favicon.ico(4KB)
--------presto.png(76KB)
----src()
--------containers()
--------index.css(63B)
--------components()
--------App.js(3KB)
--------registerServiceWorker.js(4KB)
--------App.test.js(248B)
--------api()
--------resources()
--------css()
--------index.js(379B)
----README.md(1KB)
----.gitignore(292B)
----package-lock.json(368KB)
----package.json(1KB)

网友评论