Coder Social home page Coder Social logo

aws-rapid-prototyping-with-python's Introduction

AWS Rapid Prototyping with Python CircleCI

This is a project to experience application development on AWS with the actual minimal implementations!
It contains:

  • Basic 3-tiers serverless WEB application which depends on:
    • Amazon API Gateway
    • AWS Lambda
    • Amazon DynamoDB
  • Unit tests

Try it out on your local machine

Prerequisite

Create virtual environment and install dependencies

This project depends on Poetry to manage the environment and dependencies.
So first of all, install it using pip command.

$ pip install poetry

And then, create its virtual environment and install dependencies.

$ poetry shell
$ poetry install

Run locally

You can launch the application on your local machine with the following script, it performs:

  • Pull the docker image of DynamoDB Local from dockerhub
  • Create a docker network common between DynamoDB Local and SAM Local if not exists
  • Lanuch DynamoDB Local
  • Create DynamoDB schema into DynamoDB Local
  • Launch application through SAM Local
$ bash scripts/samlocal.sh

Run unit test

You can run unit test with the following script, it performs:

  • Lanuch DynamoDB Local
    • Different container from SAM Local's one
  • Run py.test
bash scripts/unittest.sh

License

This library is licensed under the MIT-0 License. See the LICENSE file.

aws-rapid-prototyping-with-python's People

Contributors

amazon-auto avatar dependabot[bot] avatar nasa9084 avatar studio3104 avatar tbrand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.