Skip to content

jjcallis/example-serverless-app-with-dynamodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Globally install the serverless framework

npm install -g serverless

Install the virtualenv

pip install virtualenv

Create the virtual environment

virtualenv venv --python=python3.8

Activate the virtual environment

source venv/bin/activate

Deactivate virtual environment

deactivate

Install pacakages

npm install
pip install flask
pip install boto3

Freeze requirements

pip freeze > requirements.txt

Install dynamodb locally

sls dynamodb install

Local development

sls dynamodb start >/dev/null

Serve application

sls wsgi serve -p 8080

Deploy onto AWS

sls deploy

Remove deployment from AWS

serverless remove

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages