Architect

AWS Lambda Node runtime helpers for Architect apps

Stars
158
Forks
42
Open issues
19
Closed issues
55
Last commit
7 months ago
Watchers
158
Total releases
0
Total commits
1.33K
Open PRs
4
Closed PRs
278
Repo URL
Platform
License
Category
Offers premium version?
NO
Proprietary?
NO
About

@architect/functions

Runtime utility library for Functional Web Apps (FWAs) built with [Architect][https://arc.codes]

Check out the full docs for this library and Architect

Install

Within your Architect project directory, add @architect/function to its root package.json:

npm i @architect/functions

You may also add @architect/function to individual Lambda package.json files, but we suggest making use of Architect's automated Lambda treeshaking. See the Architect dependency management guide for more details.

Usage

let {
  events,   // @events pub/sub
  http,     // @http middleware + tools
  queues,   // @queues pub/sub
  services, // Architect resource / service discovery
  static,   // @static asset helper
  tables,   // @tables DynamoDB helper methods + API client
  ws,       // @ws WebSocket helper + API client
} = require('@architect/functions')
API

@events methods

@http methods

@queues methods

Service discovery

@static

@tables methods

@ws methods

Alternative Projects

Subscribe to Open Source Businees Newsletter

Twice a month we will interview people behind open source businesses. We will talk about how they are building a business on top of open source projects.

We'll never share your email with anyone else.