feathersjs-serverless

    0.3.1 • Public • Published

    feathersjs-serverless

    npm version Build Status

    feathersjs connector to the Serverless framework ⚡️

    Have you ever imagined building an application with feathersjs and deploying it using the Serverless Framework?

    const feathers = require('@feathersjs/feathers')
    const serverless = require('feathersjs-serverless')
    
    const Todos = {
      find: async () => ([{
        description: 'Build a nice application'
      }, {
        description: 'Deploy it using Serverless'
      }])
    }
    
    const app = serverless(feathers())
      .use('todos', Todos)
    
    module.exports.handler = app.handler()

    Install

    npm i feathersjs-serverless

    DownloadsWeekly Downloads

    13

    Version

    0.3.1

    License

    MIT

    Unpacked Size

    8.06 kB

    Total Files

    12

    Last publish

    Collaborators

    • dri9595