无服务器 DynamoDB API 样板

  • 使用 TypeScript 编写,并由 Webpack 使用插件编译。
  • 针对经常发生内存不足错误的大型项目进行了优化。
  • 得益于 DynamoDB Local,可以完全脱机工作。
  • 使用 Jest 可以轻松测试。
  • 使用 AWS SDK 与 DynamoDB 进行交互。
  • 支持 REST 和 GraphQL。
  • 易于管理,避免意大利面条代码。
zip
serverless-dynamodb-api-boilerplate-master.zip 预估大小:39个文件
folder
serverless-dynamodb-api-boilerplate-master 文件夹
folder
services 文件夹
file
DynamoDB.ts 428B
folder
utils 文件夹
file
responses.ts 471B
file
consts.ts 621B
folder
models 文件夹
file
Thing.ts 547B
file
yarn.lock 414KB
file
LICENSE.txt 1KB
file
codegen.yml 227B
file
webpack.config.js 1KB
folder
scripts 文件夹
file
jsonSchemasToInterfaces.js 383B
folder
graphql 文件夹
file
mergeTypes.js 265B
file
provisionTable.js 866B
file
tsconfig.json 339B
file
jest.config.js 184B
file
.env.test 73B
file
README.md 3KB
folder
consts 文件夹
file
APIGatewayProxyEventSample.ts 386B
file
serverless.yml 1KB
file
docker-compose.yml 106B
folder
graphql 文件夹
folder
entities 文件夹
file
Thing.graphql 239B
file
.gitignore 203B
folder
functions 文件夹
folder
api 文件夹
folder
rest 文件夹
folder
create 文件夹
file
role.yml 937B
file
controller.test.ts 551B
file
function.yml 298B
file
request_schema.d.ts 413B
folder
__snapshots__ 文件夹
file
controller.test.ts.snap 229B
file
function.ts 547B
file
controller.ts 755B
file
request_schema.json 477B
folder
get 文件夹
file
role.yml 988B
file
function.yml 285B
file
function.ts 540B
file
controller.ts 649B
folder
delete 文件夹
file
role.yml 869B
file
function.yml 297B
file
function.ts 546B
file
controller.ts 658B
folder
infra 文件夹
folder
dynamodb 文件夹
file
single-table-data-store.yml 1KB
folder
s3 文件夹
file
dynamic-assets-bucket.yml 242B
file
package.json 2KB
zip 文件大小:187.08KB