Giter Site home page Giter Site logo

serverless-sample-app's Introduction

serverless-sample-app

severless sample application which uses 'localstack' and 'seerless-local'

  1. Run the LocalStack container in the background with: $ docker-compose up -d

    Follow the logs with: $ docker logs -f localstack

    Till you see: ... Waiting for all LocalStack services to be ready Ready.

  2. Install localstack serverless plugin

    npm install -g serverless

    npm install --save-dev serverless-localstack

    npm install serverless-python-requirements

  3. Deploy the lambda

    to localstack : serverless deploy

reference: https://github.com/ciaranevans/localstack_and_pytest_1

https://github.com/ubaniabalogun/serverless-package-python-functions

https://medium.com/uk-hydrographic-office/developing-and-testing-lambdas-with-pytest-and-localstack-21a111b7f6e8

localstack : https://hub.docker.com/r/localstack/localstack

serverless-localstack: https://github.com/localstack/serverless-localstack

https://www.serverless.com/blog/flask-python-rest-api-serverless-lambda-dynamodb#using-the-quick-start-template https://www.serverless.com/blog/serverless-python-packaging

https://www.serverlessops.io/blog/aws-lambda-serverless-development-workflow-part2-testing-debugging

https://localstack.cloud/

For s3 unit testing: https://github.com/vincentclaes/serverless_data_pipeline_example

sample-terraform-locastack https://github.com/UlisesGascon/sample-terraform-localstack

serverless-sample-app's People

Contributors

tejkumar51 avatar

Watchers

 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.