• Pricing
© 2025 Serverless, Inc. All rights reserved.
Terms of ServicePrivacy Policy
kimcoder

Serverless Next.js Example

by

Next.js example project for development & deploy.

  1. Serverless Next.js Example

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

Contents

  • nextjs-serverless
  • development
  • build & start server in local
  • deploy
  • Reference

Related

GuidesPluginsExamplesSlack CommunitySupport