Giter Site home page Giter Site logo

elm-serverless's Introduction

NOTE: This fork is no longer maintained. Please see rupertlssmith/elm-serverless for updates which apply to elm >= 0.19

elm serverless

serverless elm-package npm version CircleCI Coveralls

Deploy an elm HTTP API to AWS Lambda using serverless. Define your API in elm and then use the npm package to bridge the interface between the AWS Lambda handler and your elm program.

Documentation

  • ./demo - Best place to start learning about the framework. Contains several small programs each demonstrating a separate feature. Each demo is supported by an end-to-end suite of tests.
  • elm-serverless-demo - Demo programs that work with the latest release.
  • API Docs - Hosted on elm-lang packages, detailed per module and function documentation. Examples are doc-tested.

Middleware

elm-serverless's People

Contributors

ktonon avatar perry-birch avatar ream88 avatar ringods avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar

elm-serverless's Issues

JavaScript interop

Currently its possible to extend the framework easily to support calling out to javascript through a port, but getting the port to send back a message to elm is trickier. There needs to be a way of encoding the plug id.

See #1 and perry-birch#1

Elm 0.19 and future plans?

Hi @ktonon , I missed this project on Elm 0.19 as I was using it with 0.18 and finding it to be a great way of writing lambda functions for AWS.

I have created a PR that upgrades to 0.19, completing the work started by ream88.

I don't know if you want to go on with this project and maintaining it under 0.19 or not? Just considering my options on how best to get my upgrade published, as I could always just fork it. Not sure yet if I will just continue to use it as is, or if I would like to make some more substantial changes and take it in a new direction, so thought it best to get your thoughts first.

Update dependencies

The build specific modules can be upgraded to their recent versions:

serverless-webpack: 5.1.5
webpack: 4.6.x

However, this requires some changes in the serverless.yml and more important, the webpack.config.js files. For a sample webpack configuration with Webpack 4.x see the babel-webpack-4 folder in the serverless-webpack examples.
Also, the babel-loader has to be updated to at least 7.1.3 for webpack 4.

Elm 0.19

Hi,
I'm really keen to try to use your package. However, I couldn't install it with elm 0.19. Is it depending on some features which have been removed from 0.19 or can I help with the upgrade?

demo doesn't work out of the box

...unless you have serverless installed globally and aliased to sls. A couple other missing dependencies for the demo.

I'll have a fix incoming.

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.