cookupsdb:为 Node.js 编写的 Cookups 数据库模块

时间:2021-07-08 17:35:32
【文件属性】:
文件名称:cookupsdb:为 Node.js 编写的 Cookups 数据库模块
文件大小:29KB
文件格式:ZIP
更新时间:2021-07-08 17:35:32
JavaScript 使用烹饪数据库 要使用数据库,您需要执行一些设置 将用户的 psql 密码设置为 cookups.org(抱歉,这看起来有点糟糕!) 运行数据库构建脚本 安装 Cookupsdb 模块 开始编码! 下面详细介绍了这些步骤中的每一个 示例搜索对象 这是发送到数据库中以在 yummly 和 postgres 上搜索的对象的格式 example object : var query = { allowedIngredient : [ 'eggs' , 'milk' ] , recipeName : 'pancake' , totalTime : 10 , maxTotalTimeInSeconds : 600 , yield : 5 , numberOfServings : 5 ,
【文件预览】:
cookupsdb-master
----databaseConsoleInput.js(8KB)
----index.js(4KB)
----.databaseConsoleInput.js.swp(20KB)
----package.json(478B)
----.databaseConsoleInput.js.swo(20KB)
----LICENSE(1KB)
----.gitignore(587B)
----.index.js.swm(4KB)
----lib()
--------yumfunctions.js(1003B)
--------dbfunctions.js(26KB)
----.index.js.swn(16KB)
----setup_database()
--------createDataBase.sh(167B)
--------schema.sql(1KB)
--------.populate_db.sql.swo(12KB)
--------.populate_db.sql.swp(12KB)
--------populate_db.sql(3KB)
--------drop.sql(271B)
--------README.md(890B)
--------.swp(4KB)
--------.schema.sql.swp(12KB)
----README.md(8KB)
----.index.js.swo(12KB)

网友评论