CRUD flask and lambda code example
Example 1: creating rest api in serverless with python
1$ virtualenv venv --python=python3
2$ source venv/bin/activate
Example 2: creating rest api in serverless with python
1$ sls deploy
2... snip ...
3Service Information
4service: serverless-flask
5stage: dev
6region: us-east-1
7stack: serverless-flask-dev
8api keys:
9 None
10endpoints:
11 ANY - https://bl4r0gjjv5.execute-api.us-east-1.amazonaws.com/dev
12 ANY - https://bl4r0gjjv5.execute-api.us-east-1.amazonaws.com/dev/{proxy+}
13functions:
14 app: serverless-flask-dev-app