warwickgrigg / sst-nextjs-blog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to create a Next.js app

An example full-stack serverless Next.js blog created with SST.

Getting Started

Read the tutorial

Install the example.

$ npm init serverless-stack --example nextjs-app
# Or with Yarn
$ yarn create serverless-stack --example nextjs-app

Commands

npm run start

Starts the Live Lambda Development environment.

npm run build

Build your app and synthesize your stacks.

npm run deploy [stack]

Deploy all your stacks to AWS. Or optionally deploy, a specific stack.

npm run remove [stack]

Remove all your stacks and all of their resources from AWS. Or optionally removes, a specific stack.

npm run test

Runs your tests using Jest. Takes all the Jest CLI options.

Documentation

Learn more about the SST.

About


Languages

Language:JavaScript 98.7%Language:Shell 0.7%Language:CSS 0.6%