0.3.1 • Published 3 years ago
feathersjs-serverless v0.3.1
feathersjs-serverless
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()