https://github.com/nikos/rest_api_demo_dynamodb
Sample RESTful web application with Flask + Swagger, plus persisting model in AWS DynamoDB
https://github.com/nikos/rest_api_demo_dynamodb
aws-dynamodb dynamodb flask python python-3 rest-api
Last synced: 5 days ago
JSON representation
Sample RESTful web application with Flask + Swagger, plus persisting model in AWS DynamoDB
- Host: GitHub
- URL: https://github.com/nikos/rest_api_demo_dynamodb
- Owner: nikos
- Created: 2017-02-27T19:51:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-01-10T21:23:27.000Z (over 3 years ago)
- Last Synced: 2025-03-02T19:18:03.577Z (over 1 year ago)
- Topics: aws-dynamodb, dynamodb, flask, python, python-3, rest-api
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rest_api_demo_dynamodb
Note: Intentionally using Python 2.7 to be able to deploy on AWS Lambda.
## Setup
Requires: AWS configuration is valid and accessible by user in her home directory
(`~/.aws/config` and `~/.aws/credentials`).
git clone https://github.com/nikos/rest_api_demo_dynamodb.git
cd rest_api_demo_dynamodb
virtualenv-2 venv
source ./venv/bin/activate
pip install -r requirements.txt
./run.py
open http://0.0.0.0:5000/
## Testing
Assuming you have installed it via `brew` you can start local DynamoDB with:
brew services start rjcoelho/boneyard/dynamodb-local
You should now be able to access your local DynamoDB on localhost port 8000.