使用 TypeScript 开发 Google Cloud Function

  • Google Cloud Function 环境变量:process.env - 命令行示例: export secret= export driverlicenceURL= - 安装依赖项: npm install - 运行测试用例: npm test - 运行服务: npm start - 检查错误: npm fix - 测试服务: curl --location --request POST 'ht...
zip
gcp-cloud-function-typescript-main.zip 预估大小:29个文件
folder
gcp-cloud-function-typescript-main 文件夹
file
.gitignore 19B
file
tsconfig.json 659B
file
README.md 2KB
folder
test 文件夹
folder
data 文件夹
file
customers.ts 1KB
file
package.json 1KB
folder
src 文件夹
folder
enum 文件夹
file
state-of-issue.enum.ts 158B
file
doKyc.ts 2KB
folder
exception 文件夹
file
http.exception.ts 340B
file
verify-doc.exception.ts 411B
folder
middleware 文件夹
file
validation.middleware.ts 1KB
folder
dto 文件夹
file
kyc-api-req.dto.ts 312B
file
kyc-api-res.dto.ts 193B
file
user-kyc-req.dto.ts 848B
file
user-kyc.res.dto.ts 117B
file
index.spec.ts 4KB
file
index.ts 1KB
folder
lib 文件夹
file
errorHandler.ts 850B
file
logger.ts 295B
folder
util 文件夹
file
common.ts 587B
folder
constants 文件夹
file
msg.constant.ts 225B
file
api.constant.ts 108B
file
url.constant.ts 57B
file
api-response.ts 465B
file
jest.config.js 203B
file
.eslintignore 7B
file
yarn.lock 229KB
file
.eslintrc.json 39B
file
.prettierrc.js 58B
file
package-lock.json 98KB
zip 文件大小:135.32KB