Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 614 Bytes

README.md

File metadata and controls

49 lines (38 loc) · 614 Bytes

nextjs-serverless

next.js with aws serverless

  • using aws lambda, s3, cloudfront
  • typescript
  • next.js ( react.js )

development

npm run dev
# or
yarn dev

build & start server in local

#
# source build 
#
npm run build
# or
yarn build

#
# start local server
#
npm run start
# or
yarn start

deploy

First, You should configure about aws credential.

  • AWS_ACCESS_KEY
  • AWS_SECRET_ACESS_KEY
npm run deploy
# or
yarn deploy

Reference

https://www.serverless.com/blog/serverless-nextjs
https://github.com/danielcondemarin/serverless-next.js#motivation