【文件属性】:
文件名称:unsplash-chatbot:在Zoom Chat中发送未飞溅的照片
文件大小:15KB
文件格式:ZIP
更新时间:2021-05-12 02:43:08
sample-app JavaScript
Unsplash Chatbot进行缩放
使用此示例应用程序须遵守我们的。
这是一个示例聊天机器人应用程序,使用了部署到Heroku的Node.js,PostgreSQL和Unsplash API。
要在本地运行完整的Chatbot代码或将其部署到实时服务器中,请继续阅读以下内容。
本地/开发设置
要在本地运行完整的Chatbot,请按照以下步骤操作,
在终端:
$ git clone https://github.com/zoom/unsplash-chatbot.git
$ cd unsplash-chatbot
$ npm install
$ touch .env
或者在Mac上使用安装的情况下,
$ brew install postgresql
安装PostgreSQL后,如果以前没有设置过,请遵循以下命令,
$ brew services start po
【文件预览】:
unsplash-chatbot-master
----index.js(6KB)
----package.json(687B)
----app.json(2KB)
----package-lock.json(30KB)
----seed.js(374B)
----.gitignore(18B)
----README.md(6KB)