next.js with aws serverless
- using aws lambda, s3, cloudfront
- typescript
- next.js ( react.js )
npm run dev
# or
yarn dev
#
# source build
#
npm run build
# or
yarn build
#
# start local server
#
npm run start
# or
yarn start
First, You should configure about aws credential.
- AWS_ACCESS_KEY
- AWS_SECRET_ACESS_KEY
npm run deploy
# or
yarn deploy
https://www.serverless.com/blog/serverless-nextjs
https://github.com/danielcondemarin/serverless-next.js#motivation