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