serverless-express-typescript:无服务器Express Typescript入门套件

时间:2021-05-18 03:20:26
【文件属性】:
文件名称:serverless-express-typescript:无服务器Express Typescript入门套件
文件大小:54KB
文件格式:ZIP
更新时间:2021-05-18 03:20:26
TypeScript 无服务器Express Typescript入门套件 一个入门工具包,用于使用通过无服务器部署到AWS Lambda的打字稿来构建快速应用程序。 入门 将存储库克隆到本地计算机。 通过运行以下命令确保您拥有必需的全局工具: npm install -g yarn ts-node 通过运行yarn恢复包裹 通过运行yarn test检查一切在本地是否正常运行 通过运行yarn deploy部署到AWS 如果不使用默认设置,则提示设置您的AWS_PROFILE环境变量 在鱼上: set -x AWS_PROFILE profile 在bash上: export AWS_PROFILE=profile 其他命令: 在本地检查无服务器包装的工作情况: yarn package 清理生成遗留的生成文件: yarn clean 写作测试 Jest已配置为运行以*.test.ts , *.t
【文件预览】:
serverless-express-typescript-master
----.prettierrc.yaml(55B)
----yarn.lock(156KB)
----src()
--------app.ts(609B)
--------views()
--------lambda.ts(1KB)
--------local.ts(128B)
----.vscode()
--------launch.json(465B)
--------settings.json(184B)
--------tasks.json(942B)
----LICENCE.txt(1KB)
----tsconfig.json(587B)
----test()
--------example.test.ts(540B)
----README.md(2KB)
----serverless.yml(3KB)
----.editorconfig(199B)
----.gitignore(1KB)
----package.json(2KB)

网友评论