Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 1.32 KB

README.md

File metadata and controls

33 lines (19 loc) · 1.32 KB

RealWorld Example App

Python + AWS Lambda + DynamoDB codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

This codebase was created to demonstrate a fully fledged fullstack application built with [Python + AWS Lambda + DynamoDB] including CRUD operations, authentication, routing, pagination, and more.

We've gone to great lengths to adhere to the [Python + AWS Lambda + DynamoDB] community styleguides & best practices.

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

How it works

cloud_architecture

  • All informations needed for AWS cloud deployment are defined in serverless/serverless.yml and serverless framework will automatically create AWS cloudformation stack.
  • Used Moto and pytest to mock cloud environment and test codes.

Getting started

Prerequisite

  • Install Python, Node.js, Serverless CLI, AWS CLI
  • log in to AWS cli

Deploy & Run

In serverless directory:

  • modify aws region in serverless.yml
  • sls deploy
  • check endpoint in aws and send request