next-material-aws-lambda icon indicating copy to clipboard operation
next-material-aws-lambda copied to clipboard

Next.js material-ui example deployed on AWS Lambda

next-material-aws-lambda

Build Status Greenkeeper badge

A Next.js deployment on AWS Lambda leveraging serverless-http and material-ui.

This is the official Next.js example from the material-ui repo which you can find here.

Deploy

Once you have serverless configured and created your Domain with serverless create_domain install with yarn or npm:

$ yarn install
$ npm run deploy

One limitation though is, that currently HTTP is not redirected to HTTPS.

Development

$ npm run dev