Next.js material-ui example deployed on AWS Lambda
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pages
src
.gitignore
.travis.yml
Dockerfile
LICENSE.md
README.md
lambda.js
package.json
server.js
serverless.yml define custom domain and use an empty `basePath` to map `/` to the stage Jul 28, 2018
yarn.lock

README.md

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