Skip to content

tleonhardt/serverless-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless Flask Application

This is code which follows the tutorial Build a Python REST API with Serverless, Lambda, and DynamoDB to create a deploy a serverless REST API using Serverless Framework and Flask.

Prerequisites

JavaScript

npm install
sls dyanamodb install

Python

pipenv install
pipenv shell

Run Flask App locally

pipenv shell
python app.py

Deploy to AWS

sls deploy

Local development configuration with Serverless offline plugin

In one terminal start the local DynamoDB emulator:

sls dynamodb start

In another terminal start the local development environment

sls wsgi serve

About

Serverless Framework Flask application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages