首页 开发技术 其它     /    serverless-node-dynamodb-api:由Serverless,TypeScript,Webpack和DynamoDB支持的API,旨在作为无服务器API的起点-源码

serverless-node-dynamodb-api:由Serverless,TypeScript,Webpack和DynamoDB支持的API,旨在作为无服务器API的起点-源码

上传者: weixin_42131728 | 上传时间:2023/11/20 22:54:36 | 文件大小:118KB | 文件类型:ZIP
serverless-node-dynamodb-api:由Serverless,TypeScript,Webpack和DynamoDB支持的API,旨在作为无服务器API的起点-源码
由无服务器,TypeScript,Webpack,Node.js和DynamoDB支持的API,旨在作为无服务器API的起点。
我还创建了一个来实现此API。
Auth0处理身份验证。
您必须注册/登录才能生成身份验证令牌并获得对安全区域的访问权限。
API中的所有端点都会检查auth令牌的有效性,如果无效,则返回未经授权的权限,然后UI会提示您再次登录。
API还通过auth令牌确定用户的身份。
见的API结构-定义。
使用的技术在本地运行(使用实时重新加载和本地DynamoDB服务器)要在本地运行,您必须运行两个服务器-DB和API。
Serverless-webpack,serverless-dynamodb-local和serverless-offline为本地Serverless开发提供了出色的工具。
要启动模拟AWSAPIGateway和DyanamoDB的本地服务器,请运行以下命令。
两台服务器都将启动,并且更改后将重新加载代码,以便对API的每个请求都将提供最新的代码。
Serverless-dynamodb-local需要JavaRuntimeE

文件下载

资源详情

[{"title":"(29个子文件118KB)serverless-node-dynamodb-api:由Serverless,TypeScript,Webpack和DynamoDB支持的API,旨在作为无服务器API的起点-源码","children":[{"title":"serverless-node-dynamodb-api-master","children":[{"title":".gitignore <span style='color:#111;'>124B</span>","children":null,"spread":false},{"title":"Dockerfile <span style='color:#111;'>240B</span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'>1.75KB</span>","children":null,"spread":false},{"title":"tslint.json <span style='color:#111;'>428B</span>","children":null,"spread":false},{"title":"serverless.yml <span style='color:#111;'>5.13KB</span>","children":null,"spread":false},{"title":"src","children":[{"title":"database.ts <span style='color:#111;'>2.87KB</span>","children":null,"spread":false},{"title":"globals.d.ts <span style='color:#111;'>78B</span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'>4.33KB</span>","children":null,"spread":false},{"title":"Item.ts <span style='color:#111;'>111B</span>","children":null,"spread":false},{"title":"ResponseError.ts <span style='color:#111;'>598B</span>","children":null,"spread":false},{"title":"Response.ts <span style='color:#111;'>769B</span>","children":null,"spread":false}],"spread":true},{"title":".dockerignore <span style='color:#111;'>44B</span>","children":null,"spread":false},{"title":".nvmrc <span style='color:#111;'>2B</span>","children":null,"spread":false},{"title":"LICENCE <span style='color:#111;'>1.05KB</span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'>4.95KB</span>","children":null,"spread":false},{"title":"webpack.config.ts <span style='color:#111;'>1.28KB</span>","children":null,"spread":false},{"title":"infrastructure","children":[{"title":"install.bash <span style='color:#111;'>136B</span>","children":null,"spread":false},{"title":"main.tf <span style='color:#111;'>1.40KB</span>","children":null,"spread":false},{"title":"deploy-infrastructure.bash <span style='color:#111;'>375B</span>","children":null,"spread":false},{"title":"variables.tf <span style='color:#111;'>1.57KB</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>2.97KB</span>","children":null,"spread":false},{"title":"versions.tf <span style='color:#111;'>45B</span>","children":null,"spread":false},{"title":"deploy-serverless.bash <span style='color:#111;'>109B</span>","children":null,"spread":false},{"title":"codebuild-role-policy.tpl <span style='color:#111;'>743B</span>","children":null,"spread":false}],"spread":true},{"title":"docker-compose.yml <span style='color:#111;'>709B</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>3.46KB</span>","children":null,"spread":false},{"title":"apiary.apib <span style='color:#111;'>2.29KB</span>","children":null,"spread":false},{"title":"buildspec.yml <span style='color:#111;'>1.64KB</span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'>247.18KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明