Skip to content

Latest commit

 

History

23 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

仓库 files navigation

Stackery Quickstart NodeJS

This is a simple backend API for a list app, written in NodeJS 12.x.

关注 the Stackery Quickstart to learn to use Stackery while writing this application.

The following are descriptions of the Stackery resources we'll be working with:

  • Rest API : An API Gateway with GET and POST endpoints

  • Function : Two Lambda functions will POST and GET items to and from the table

  • Table : A DynamoDB table that will store our items

The application architecture is defined in the template.yaml, a Serverless Application Model (SAM) template which can be managed through the Stackery 仪表盘 at app.stackery.io.

Here is an overview of the files:

.
├── README.md                     <-- This README file
├── src                           <-- Source code dir for all AWS Lambda functions
│   ├── getItems                  <-- Source code dir for getItems function
│   │   ├── README.md             <-- Function-specific README
│   │   ├── index.js              <-- Lambda function code
│   │   ├── package.json          <-- NodeJS dependencies
│   │   └── .stackery-config.yaml <-- Stackery function configuration file
│   ├── newItem                   <-- Source code dir for newItem function
│   │   ├── README.md             <-- Function-specific README
│   │   ├── index.js              <-- Lambda function code
│   │   ├── package.json          <-- NodeJS dependencies
│   │   └──.stackery-config.yaml  <-- Stackery function configuration file
└── template.yaml                 <-- SAM infrastructure-as-code template
└──.stackery-config.yaml          <-- Stackery stack configuration file

关于

Stackery Quickstart NodeJS

Resources

Stars

1 star

关注者

1 watching

复刻s

发布

Used by

贡献者

Languages