Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit 4dc88d0

Browse files
update example docs
1 parent f988e90 commit 4dc88d0

File tree

1 file changed

+6
-6
lines changed
  • packages/serverless-nextjs-component/examples/dynamodb-crud

1 file changed

+6
-6
lines changed

packages/serverless-nextjs-component/examples/dynamodb-crud/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,36 +21,36 @@ Rename `.env.sample` to `.env` and set your aws credentials.
2121

2222
## Local development
2323

24-
**Provision the DynamoDB Todos Table**
24+
#### Provision the DynamoDB Todos Table
2525

2626
Make sure you have a [running local dynamodb server](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html).
2727

2828
Then simply run:
2929

3030
`npm run dev:infra`
3131

32-
**Start the next app**
32+
#### Start the next app
3333

3434
`npm run dev`
3535
// available at http://localhost:3000
3636

3737
## Production
3838

39-
**Provision the DynamoDB Global Todos Table**
39+
#### Provision the DynamoDB Global Todos Table
4040

4141
`npm run infra`
4242

43-
**Deploying**
43+
#### Deploying
4444

4545
To deploy your application to the cloud:
4646

4747
`npm run deploy:up`
4848

49-
**Tearing down the application resources**
49+
#### Tearing down the application resources
5050

5151
`npm run deploy:down`
5252

53-
## A few notes:
53+
## A few notes
5454

5555
- Server side the DynamoDB table is queried directly for SSR of the page
5656
- On client side `fetch` is used to query the /api that talks to DynamoDB. Client side routing prevents having to reload every resource on the page like js, css, etc.

0 commit comments

Comments
 (0)