1.2.2 • Published 9 months ago

remix-aws v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

🚀 support

  • API gateway v1
  • API gateway v2
  • Application load balancer

Getting started

npm install --save remix-aws
// server.js
import * as build from '@remix-run/dev/server-build'
import {AWSProxy, createRequestHandler} from 'remix-aws'

// Required in Remix v2
import { installGlobals } from '@remix-run/node'
installGlobals()

export const handler = createRequestHandler({
    build,
    mode: process.env.NODE_ENV,
    awsProxy: AWSProxy.APIGatewayV1
})

awsProxy

By default the awsProxy is set to AWSProxy.APIGatewayV2.

Options

  • AWSProxy.APIGatewayV1
  • AWSProxy.APIGatewayV2
  • AWSProxy.ALB
  • AWSProxy.FunctionURL

Notes

split from @remix/architect

As mentioned in #3173 the goal would be to provide an AWS adapter for the community by the community. In doing so the focus will be on AWS integrations and less on Architect. I do think it's added value to provide examples for Architect, AWS SAM, AWS CDK, Serverless,...

info: ALB types vs API gateway v1 types

To do

  • add tests
  • add examples
  • add more documentation
1.3.0-beta.1

9 months ago

1.2.0

9 months ago

1.2.2

9 months ago

1.2.0-beta.1

9 months ago

1.2.0-beta.3

9 months ago

1.2.0-beta.2

9 months ago

1.2.0-beta.4

9 months ago

1.1.0

1 year ago

1.0.0

2 years ago

0.0.3

2 years ago

1.0.0-0

2 years ago

0.0.2-rc.2

3 years ago

0.0.2-rc.1

3 years ago

0.0.2-rc.0

3 years ago

0.0.1

3 years ago