Demo using aws lambda to render a React app.
$ npm install
$ npm run build
- register for AWS and create a new user with the policy to
lambda:InvokeFunction
- include this users AWS credentials in the env (see server.js)
- upload
lambda.zip
to aws lambda using the function namereact-lambda
(TODO: automate this)
$ npm start
$ open http://localhost:3000