Skip to content

qbiqing/coffee-gateway

Repository files navigation

Coffee-gateway

Test app using AWS API Gateway, AWS Lambda, DynamoDB, serverless framework.
Lambda written in Python.

References

Build Python REST Api with Flask and serverless framework

Serverless framework guide on AWS Dynamodb

Build NodeJS REST Api with AWS API Gateway and serverless framework

Python API with AWS API Gateway and Lambda

Handle Python packaging in serverless

Using Lambda layers in serverless framework

AWS Lambda layer guide: sample python application

Development

You need to install serverless and set up AWS credentials.

Use a virtual environment. Install packages from requirements.txt:

pip install -r requirements.txt

Also install the necessary NPM packages:

npm install

Deployment

To build the python requirements layer, run:

./build_layers.sh

After making changes, deploy with serverless directly:

sls deploy

Monitor via the serverless dashboard.

About

API service using AWS API Gateway, AWS Lambda, DynamoDB, and the serverless framework. Lambda functions written in Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published