Git Product home page Git Product logo

mesa's Introduction

Mesa

Join the chat at https://gitter.im/mcneely/mesa Build Status Dependency Status devDependency Status

Mesa is a lightweight development framework for AWS Lambda Applications.

Requirements

To Come

Quick Start

This assumes you understand the basics of creating a Lambda function. To start a new projects execute the following command.

git clone https://github.com/mcneely/mesa.git --depth=1

To begin using Mesa, create a new, or move an existing lambda function into the lib/ directory. You can either places its as

lib/<Function Name>.js

or

lib/<Function Name>/index.js

Make sure that <Function Name> is the exact name you will give the lambda function in AWS. When uploading the lambda in AWS, make sure that that handler is set to the default: index.handler

How it works

When you upload and execute the lambda function, the context and event objects are passed to the index.js in the root folder. This loads the Kernel and extracts the function name from the context object and uses it to call the function you places in the lib/ directory. This allows for multiple lambdas that share the same zip. The Kernel extends the default context and is passed to your function.

The Kernel currently handles logging, deployment environments, service provider for dependency injection, non-JSON POST/GET request handling.

Authors and contributors

Current

Project status

Mesa is currently maintained by Paul L. McNeely.

License

MPL-2.0

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.