typescript-serverless-api-vercel:在Vercel平台上托管无服务器API的项目
Vercel上的TypeScript无服务器API该目录是在TypeScript中创建无服务器API并在Vercel平台上进行部署的示例。特征用TypeScript编写的无服务器功能在Vercel上针对主分支和请求请求进行部署使用Jest测试支持使用GitHub Actions进行CI设置,以在每次推送到GitHub时(在每个分支上)运行测试CI设置以针对Vercel预览URL运行测试,并在PR合并之前将其添加为检查对象。 CI Setup使用semantic-release来创建新semantic-release能够计算函数( /address )以及进行API调用( /currency )可用的API当地的http://localhost:3000/api/hello ? name= < string> http://localhost:3000
typescript-serverless-api-vercel-main.zip
预估大小:22个文件
typescript-serverless-api-vercel-main
文件夹
api
文件夹
address.ts
660B
hello.ts
228B
currency.ts
298B
.gitignore
89B
package.json
923B
src
文件夹
currencyFetcher.ts
383B
integration_tests
文件夹
125.28KB
文件大小:
评论区